DCD-224: Download locally rather than to the shared drive to avoid races.

This commit is contained in:
Steve Smith
2019-04-15 14:18:25 +10:00
parent 94c06ce4d5
commit 6c70ce323e
4 changed files with 14 additions and 3 deletions

View File

@@ -18,3 +18,8 @@ def test_version_is_latest(host):
assert verfile.content.decode("UTF-8").strip() == "7.13.2"
def test_latest_is_downloaded(host):
installer = host.file('/opt/atlassian/tmp/jira-software.7.13.2.bin')
assert installer.exists
assert installer.user == 'root'
assert installer.mode == 0o0755