DCD-621: fixes installer tests for most scenarios under product_install

This commit is contained in:
Varun Arbatti
2019-08-29 14:58:51 +10:00
parent 2d83585803
commit 856e60abe6
8 changed files with 7 additions and 8 deletions

View File

@@ -7,7 +7,6 @@
atl_product_user: "bitbucket"
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
roles:
- role: linux_common
- role: product_common

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "7.10.2"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/jira-core.7.10.2.bin')
installer = host.file('/opt/atlassian/tmp/jira-core.7.10.2-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "7.10.1"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/jira-core.7.10.1.bin')
installer = host.file('/opt/atlassian/tmp/jira-core.7.10.1-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "7.9.0"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/jira-core.7.9.0.bin')
installer = host.file('/opt/atlassian/tmp/jira-core.7.9.0-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "7.13.2"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/jira-core.7.13.2.bin')
installer = host.file('/opt/atlassian/tmp/jira-core.7.13.2-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "3.9.0"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/servicedesk.3.9.0.bin')
installer = host.file('/opt/atlassian/tmp/servicedesk.3.9.0-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -14,7 +14,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == "4.1.0"
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/servicedesk.4.1.0.bin')
installer = host.file('/opt/atlassian/tmp/servicedesk.4.1.0-x64.bin')
assert installer.exists
assert installer.user == 'root'

View File

@@ -23,7 +23,7 @@ def test_version_is_correct(host):
assert verfile.content.decode("UTF-8").strip() == sd
def test_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/servicedesk.'+sd+'.bin')
installer = host.file('/opt/atlassian/tmp/servicedesk.'+sd+'-x64.bin')
assert installer.exists
assert installer.user == 'root'