ITOPSENG-277 added fixes for tests as per discussion with Ben

This commit is contained in:
Brett Meehan
2019-12-05 15:12:33 +11:00
parent fff55c5409
commit 8c02ea36bb
3 changed files with 3 additions and 5 deletions

View File

@@ -14,8 +14,6 @@
atl_cluster_node_id: 'FAKEID'
atl_autologin_cookie_age: "COOKIEAGE"
atl_local_ipv4: "1.1.1.1"
atl_tomcat_scheme: "http"
atl_proxy_name: "localhost"
roles:
- role: linux_common

View File

@@ -38,8 +38,6 @@ def test_server_file(host):
assert f.contains('acceptCount="10"')
assert f.contains('secure="false"')
assert f.contains('scheme="http"')
assert not f.contains('proxyName=')
assert not f.contains('proxyPort=')
def test_install_permissions(host):
assert host.file('/opt/atlassian/confluence/current/conf/server.xml').user == 'root'

View File

@@ -90,5 +90,7 @@
- bandanavalue
- <baseUrl>.*</baseUrl>
- "<baseUrl>{{ atl_tomcat_scheme }}://{{ atl_proxy_name }}</baseUrl>"
when: atl_proxy_name is defined
when:
- atl_proxy_name is defined
- atl_tomcat_scheme is defined
ignore_errors: yes # For Molecule as it has no db test framework included