Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mediaserver
envsetup
Commits
39e5d8ba
Commit
39e5d8ba
authored
4 years ago
by
Stéphane Diemer
Browse files
Options
Downloads
Patches
Plain Diff
Do not wait after last try of a test
parent
b6b4b082
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/tester.py
+2
-1
2 additions, 1 deletion
tests/tester.py
with
2 additions
and
1 deletion
tests/tester.py
+
2
−
1
View file @
39e5d8ba
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment