DCD-963: Add test for preferred test query

This commit is contained in:
Adam Brokes
2020-08-03 15:25:30 +10:00
parent 951f0241ab
commit 09c0a49341
2 changed files with 3 additions and 1 deletions

View File

@@ -77,4 +77,5 @@ def test_confluence_config_file(host):
assert f.contains('<property name="hibernate.connection.driver_class">org.postgresql.Driver</property>')
assert f.contains('<property name="confluence.cluster.aws.host.header">ec2.amazonaws.com</property>')
assert f.contains('<property name="hibernate.connection.url">jdbc:postgresql://postgres-db.ap-southeast-2.rds.amazonaws.com:5432/confluence</property>')
assert f.contains('<property name="hibernate.connection.password">molecule_password</property>')
assert f.contains('<property name="hibernate.connection.password">molecule_password</property>')
assert f.contains('<property name="hibernate.c3p0.preferredTestQuery">select 1;</property>')