mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 00:43:06 -06:00
DCD-621: externalizes db type based in dbconfig.xml for Jira
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
atl_db_removeabandonedtimeout: 1111
|
||||
atl_db_testwhileidle: 'false'
|
||||
atl_db_testonborrow: 'true'
|
||||
atl_db_type: 'postgres96'
|
||||
|
||||
roles:
|
||||
- role: linux_common
|
||||
|
||||
@@ -10,6 +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("<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