mirror of
https://bitbucket.org/atlassian-docker/docker-atlassian-confluence-server.git
synced 2024-08-30 18:22:16 +00:00
DCD-558: Add test of dialect/driver lookup.
This commit is contained in:
parent
442a29e9ea
commit
3f5e23663c
@ -229,6 +229,8 @@ def test_confluence_xml_postgres_all_set(docker_cli, image):
|
||||
wait_for_file(container, "/var/atlassian/application-data/confluence/confluence.cfg.xml")
|
||||
|
||||
xml = etree.fromstring(container.file('/var/atlassian/application-data/confluence/confluence.cfg.xml').content)
|
||||
assert xml.xpath('//property[@name="hibernate.connection.driver_class"]')[0].text == "org.postgresql.Driver"
|
||||
assert xml.xpath('//property[@name="hibernate.dialect"]')[0].text == "com.atlassian.confluence.impl.hibernate.dialect.PostgreSQLDialect"
|
||||
assert xml.xpath('//property[@name="hibernate.c3p0.min_size"]')[0].text == "x20"
|
||||
assert xml.xpath('//property[@name="hibernate.c3p0.max_size"]')[0].text == "x100"
|
||||
assert xml.xpath('//property[@name="hibernate.c3p0.timeout"]')[0].text == "x30"
|
||||
|
Loading…
Reference in New Issue
Block a user