Skip to content
Snippets Groups Projects
Commit 39e5d8ba authored by Stéphane Diemer's avatar Stéphane Diemer
Browse files

Do not wait after last try of a test

parent b6b4b082
No related branches found
No related tags found
No related merge requests found
......@@ -302,6 +302,8 @@ class Tester():
# Run test
count = 0
while count < 3:
if count > 0:
time.sleep(5 * count * count)
count += 1
print("Attempt: %s" % str(count))
p = subprocess.run(
......@@ -314,7 +316,6 @@ class Tester():
print(out)
if p.returncode in (0, 2, 3):
break
time.sleep(5 * count * count)
out_of_support = out_of_support or "out of support" in out
if p.returncode == 0:
status = "\033[92msuccess\033[0m"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment