mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
DCD-621: fixes installer tests for most scenarios under product_install
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
atl_product_user: "bitbucket"
|
||||
|
||||
atl_product_home: "{{ atl_shared_mountpoint }}/{{ atl_product_edition }}"
|
||||
|
||||
roles:
|
||||
- role: linux_common
|
||||
- role: product_common
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user