Skip to content

Commit 25903ed

Browse files
committed
chore: enable shuffle testing for contrib packages
PROF-12822
1 parent 29f9217 commit 25903ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/ci_test_contrib.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ for contrib in $CONTRIBS; do
4242
go get k8s.io/[email protected]
4343
fi
4444
go mod tidy
45-
gotestsum --junitfile "${TEST_RESULTS}/gotestsum-report-$contrib_id.xml" -- ./... -v -race -coverprofile="coverage-$contrib_id.txt" -covermode=atomic
45+
gotestsum --junitfile "${TEST_RESULTS}/gotestsum-report-$contrib_id.xml" -- ./... -v -race -coverprofile="coverage-$contrib_id.txt" -covermode=atomic --shuffle=on
4646
test_exit=$?
4747
[[ $test_exit -ne 0 ]] && report_error=1
4848
cd - > /dev/null || exit 1
@@ -58,7 +58,7 @@ for mod in $INSTRUMENTATION_SUBMODULES; do
5858
# When the issue is resolved, this line can be removed.
5959
go get k8s.io/[email protected]
6060
fi
61-
gotestsum --junitfile "${TEST_RESULTS}/gotestsum-report-$mod_id.xml" -- ./... -v -race -coverprofile="coverage-$mod_id.txt" -covermode=atomic
61+
gotestsum --junitfile "${TEST_RESULTS}/gotestsum-report-$mod_id.xml" -- ./... -v -race -coverprofile="coverage-$mod_id.txt" -covermode=atomic --shuffle=on
6262
test_exit=$?
6363
[[ $test_exit -ne 0 ]] && report_error=1
6464
cd - > /dev/null || exit 1

0 commit comments

Comments
 (0)