mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-621: Uses ATL_DB_ENGINE paramerter to infer database type. If db_engine is 'aurora_postgres', then use aurrora postgres db type. Else use default postgres db_type
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
atl_db_removeabandonedtimeout: 1111
|
||||
atl_db_testwhileidle: 'false'
|
||||
atl_db_testonborrow: 'true'
|
||||
atl_db_type: 'postgres96'
|
||||
atl_db_engine: 'rds_postgres'
|
||||
|
||||
roles:
|
||||
- role: linux_common
|
||||
|
||||
@@ -10,7 +10,7 @@ def test_dbconfig_file(host):
|
||||
f = host.file('/var/atlassian/application-data/jira/dbconfig.xml')
|
||||
assert f.exists
|
||||
assert f.user == 'jira'
|
||||
assert f.contains("<database-type>postgres96</database-type>")
|
||||
assert f.contains("<database-type>postgres72</database-type>")
|
||||
assert f.contains("<driver-class>org.postgresql.Driver</driver-class>")
|
||||
assert f.contains("<username>atljira</username>")
|
||||
assert f.contains("<password>molecule_password</password>")
|
||||
|
||||
Reference in New Issue
Block a user