Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod-tests
Commits
77de13b6e130
Commit
58662757
authored
Oct 06, 2020
by
Georges Racinet
🦑
Browse files
Heptapod CI: avoid 3 minutes of waiting
--HG-- branch : stable
parent
8092ffefefba
Changes
1
Hide whitespace changes
Inline
Side-by-side
ci/run-tests-inside
View file @
77de13b6
...
...
@@ -18,14 +18,16 @@ chown -R git:git .
GIT_HOME
=
`
ls
-d
~git
`
# for explicit guaranteed forwarding
chown
git:git
$GIT_HOME
TOX
=
"sudo -u git HOME=
$GIT_HOME
tox -e omnibus"
INITIAL_WAIT
=
180
for
MARKER
in
services fs_access
;
do
echo
"Running functional tests marked with
$MARKER
"
if
$TOX
--
-m
$MARKER
$COMMON_FLAGS
--heptapod-wait-after-first-response
180
;
then
if
$TOX
--
-m
$MARKER
$COMMON_FLAGS
\
--heptapod-wait-after-first-response
$INITIAL_WAIT
;
then
echo
"First pass for
$MARKER
succeeded"
else
echo
"Rerunning failed tests of first pass for
$MARKER
"
$TOX
--
-m
$MARKER
--lf
$COMMON_FLAGS
fi
INITIAL_WAIT
=
0
done
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment