8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 619bff2 commit a7dfc2eCopy full SHA for a7dfc2e
tests/pytests/pkg/upgrade/test_salt_upgrade.py
@@ -73,13 +73,15 @@ def salt_test_upgrade(
73
# Upgrade Salt (inc. minion, master, etc.) from previous version and test
74
install_salt.install(upgrade=True)
75
76
- start = time.monotonic()
77
- while True:
78
- ret = salt_call_cli.run("--local", "test.version", _timeout=10)
79
- if ret.returncode == 0:
80
- break
81
- if time.monotonic() - start > 60:
82
+ # XXX: Come up with a faster way of knowing whne we are ready.
+ # start = time.monotonic()
+ # while True:
+ # ret = salt_call_cli.run("--local", "test.version", _timeout=10)
+ # if ret.returncode == 0:
+ # break
+ # if time.monotonic() - start > 60:
83
84
+ time.sleep(60)
85
86
ret = salt_call_cli.run("--local", "test.version")
87
assert ret.returncode == 0
0 commit comments