Skip to content

Commit 7998f3e

Browse files
committed
add retry in nested container tests
1 parent 53cc9e6 commit 7998f3e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/extended/testdata/bindata.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/extended/testdata/node/nested_container/run_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
#!/usr/bin/env bash
22

33
mkdir -p serial-junit
4-
PODMAN=$(pwd)/bin/podman bats -T --report-formatter junit -o serial-junit --filter-tags '!ci:parallel' test/system/ || touch fail
4+
PODMAN=$(pwd)/bin/podman BATS_TEST_RETRIES=3 bats -T --report-formatter junit -o serial-junit --filter-tags '!ci:parallel' test/system/ || touch fail
55
mkdir -p parallel-junit
6-
PODMAN=$(pwd)/bin/podman bats -T --report-formatter junit -o parallel-junit --filter-tags ci:parallel -j $(nproc) test/system/ || touch fail
6+
PODMAN=$(pwd)/bin/podman BATS_TEST_RETRIES=3 bats -T --report-formatter junit -o parallel-junit --filter-tags ci:parallel -j $(nproc) test/system/ || touch fail
77
touch done
88
echo "Finished running tests."
99
# wait for the test results to be retrieved

0 commit comments

Comments
 (0)