debian/tests/test-local-pull: Run the unreliable test separately, repeated 3 times to assess how often it fails
This commit is contained in:
1 parent
33f37eb6d6
commit
f0785125c2
3 files changed
+23
-1
No files matched your search
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
Tests: gnome-desktop-testing
|
||||
Tests: gnome-desktop-testing, test-local-pull
|
||||
Depends: gnome-desktop-testing, ostree-tests
|
||||
|
||||
Tests: build
|
||||
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
exec 2>&1
|
||||
|
||||
N=3
|
||||
passed=0
|
||||
|
||||
for i in `seq 1 $N`; do
|
||||
if gnome-desktop-testing-runner ostree/test-local-pull.sh.test; then
|
||||
passed=$(( $passed + 1))
|
||||
fi
|
||||
done
|
||||
|
||||
echo "test-local-pull: passed $passed/$N attempts"
|
||||
|
||||
if [ "$passed" -ne "$N" ]; then
|
||||
exit 1
|
||||
fi
|
||||
Reference in new issue
Block a user