mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-13 08:23:06 -06:00
ITOPS-2158 testing
This commit is contained in:
@@ -23,6 +23,6 @@ def test_latest_is_downloaded(host):
|
||||
upstream_json = json.load(upstream_fd)
|
||||
upstream = upstream_json['version']
|
||||
|
||||
installer = host.file('/opt/atlassian/tmp/jira-core.'+upstream+'.tar.gz')
|
||||
installer = host.file('/media/atl/jira/shared/downloads/jira-core.'+upstream+'.tar.gz')
|
||||
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-x64.bin')
|
||||
installer = host.file('/media/atl/jira/shared/downloads/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-x64.bin')
|
||||
installer = host.file('/media/atl/jira/shared/downloads/jira-core.7.13.2-x64.bin')
|
||||
assert installer.exists
|
||||
assert installer.user == 'root'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user