Commit 58662757 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod CI: avoid 3 minutes of waiting

--HG--
branch : stable
parent 8092ffefefba
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment