mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
ITOPSENG-277 added fixes for tests as per discussion with Ben
This commit is contained in:
@@ -14,8 +14,6 @@
|
|||||||
atl_cluster_node_id: 'FAKEID'
|
atl_cluster_node_id: 'FAKEID'
|
||||||
atl_autologin_cookie_age: "COOKIEAGE"
|
atl_autologin_cookie_age: "COOKIEAGE"
|
||||||
atl_local_ipv4: "1.1.1.1"
|
atl_local_ipv4: "1.1.1.1"
|
||||||
atl_tomcat_scheme: "http"
|
|
||||||
atl_proxy_name: "localhost"
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: linux_common
|
- role: linux_common
|
||||||
|
|||||||
@@ -38,8 +38,6 @@ def test_server_file(host):
|
|||||||
assert f.contains('acceptCount="10"')
|
assert f.contains('acceptCount="10"')
|
||||||
assert f.contains('secure="false"')
|
assert f.contains('secure="false"')
|
||||||
assert f.contains('scheme="http"')
|
assert f.contains('scheme="http"')
|
||||||
assert not f.contains('proxyName=')
|
|
||||||
assert not f.contains('proxyPort=')
|
|
||||||
|
|
||||||
def test_install_permissions(host):
|
def test_install_permissions(host):
|
||||||
assert host.file('/opt/atlassian/confluence/current/conf/server.xml').user == 'root'
|
assert host.file('/opt/atlassian/confluence/current/conf/server.xml').user == 'root'
|
||||||
|
|||||||
@@ -90,5 +90,7 @@
|
|||||||
- bandanavalue
|
- bandanavalue
|
||||||
- <baseUrl>.*</baseUrl>
|
- <baseUrl>.*</baseUrl>
|
||||||
- "<baseUrl>{{ atl_tomcat_scheme }}://{{ atl_proxy_name }}</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
|
ignore_errors: yes # For Molecule as it has no db test framework included
|
||||||
|
|||||||
Reference in New Issue
Block a user