Skip to content

Commit 6bef1c3

Browse files
committed
Remove rerun-fails
This flag in gotestsum causes some bugs which multiple the test time. gotestyourself/gotestsum#417 gotestyourself/gotestsum#423
1 parent 4f7a171 commit 6bef1c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ jobs:
212212
packages=`go list ./...`
213213
for package in $packages; do
214214
echo running tests for $package
215-
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --rerun-fails=1 --no-color=false -- ./... -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -timeout 35m -skip "$skip_tests" -tags=cionly > >(stdbuf -oL tee full.log | grep -vE "INFO|seal"); then
215+
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --no-color=false -- ./... -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -timeout 35m -skip "$skip_tests" -tags=cionly > >(stdbuf -oL tee full.log | grep -vE "INFO|seal"); then
216216
exit 1
217217
fi
218218
done
@@ -227,7 +227,7 @@ jobs:
227227
packages=`go list ./...`
228228
for package in $packages; do
229229
echo running tests for $package
230-
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --rerun-fails=1 --no-color=false -- ./... -race -skip "$skip_tests" -timeout=40m > >(stdbuf -oL tee full.log | grep -vE "INFO|seal"); then
230+
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --no-color=false -- ./... -race -skip "$skip_tests" -timeout=40m > >(stdbuf -oL tee full.log | grep -vE "INFO|seal"); then
231231
exit 1
232232
fi
233233
done
@@ -244,7 +244,7 @@ jobs:
244244
packages=`go list ./...`
245245
for package in $packages; do
246246
echo running tests for $package
247-
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --rerun-fails=2 --no-color=false -- -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -tags=challengetest -run=TestChallenge -skip "$skip_tests" > >(stdbuf -oL tee -a full.log | grep -vE "INFO|seal"); then
247+
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --no-color=false -- -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -tags=challengetest -run=TestChallenge -skip "$skip_tests" > >(stdbuf -oL tee -a full.log | grep -vE "INFO|seal"); then
248248
exit 1
249249
fi
250250
done
@@ -257,7 +257,7 @@ jobs:
257257
packages=`go list ./...`
258258
for package in $packages; do
259259
echo running tests for $package
260-
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --rerun-fails=2 --no-color=false -- -timeout 60m -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -tags=stylustest -run="TestProgramArbitrator" -skip "$skip_tests" > >(stdbuf -oL tee -a full.log | grep -vE "INFO|seal"); then
260+
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --no-color=false -- -timeout 60m -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -tags=stylustest -run="TestProgramArbitrator" -skip "$skip_tests" > >(stdbuf -oL tee -a full.log | grep -vE "INFO|seal"); then
261261
exit 1
262262
fi
263263
done
@@ -270,7 +270,7 @@ jobs:
270270
packages=`go list ./...`
271271
for package in $packages; do
272272
echo running tests for $package
273-
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --rerun-fails=2 --no-color=false -- -timeout 60m -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -tags=stylustest -run="TestProgramLong" -skip "$skip_tests" > >(stdbuf -oL tee -a full.log | grep -vE "INFO|seal"); then
273+
if ! stdbuf -oL gotestsum --format short-verbose --packages="$package" --no-color=false -- -timeout 60m -coverprofile=coverage.txt -covermode=atomic -coverpkg=./...,./go-ethereum/... -tags=stylustest -run="TestProgramLong" -skip "$skip_tests" > >(stdbuf -oL tee -a full.log | grep -vE "INFO|seal"); then
274274
exit 1
275275
fi
276276
done

0 commit comments

Comments
 (0)