ITOPS-2158 Added crowd test - testing

This commit is contained in:
Glenn Stewart
2019-11-04 11:39:08 +11:00
parent 952c8ac97e
commit acfd10d2ae
2 changed files with 3 additions and 2 deletions

View File

@@ -5,6 +5,7 @@
atl_product_family: "crowd"
atl_product_edition: "crowd"
atl_product_user: "crowd"
atl_download_format: "tarball"
roles:
- role: linux_common
- role: product_common

View File

@@ -37,7 +37,7 @@ def test_latest_is_downloaded(host):
upstream_json = json.load(upstream_fd)
upstream = upstream_json['version']
installer = host.file('/media/atl/crowd/shared/downloads/crowd.' + upstream + '-x64.bin')
installer = host.file('/media/atl/crowd/shared/downloads/crowd.' + upstream + '.tar.gz')
assert installer.exists
assert installer.user == 'root'
@@ -47,6 +47,6 @@ def test_completed_lockfile(host):
upstream_json = json.load(upstream_fd)
upstream = upstream_json['version']
lockfile = host.file('/media/atl/crowd/shared/downloads/crowd.' + upstream + '-x64.bin_completed')
lockfile = host.file('/media/atl/crowd/shared/downloads/crowd.' + upstream + '.tar.gz_completed')
assert lockfile.exists
assert lockfile.user == 'root'