From e774f328c94b32a1e2505206d994b9408f378881 Mon Sep 17 00:00:00 2001 From: Barbara Poon Date: Thu, 22 Jul 2021 10:00:38 -0400 Subject: [PATCH] remove CIRCLECI_SPLIT --- test/scripts/e2e_go_tests.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/test/scripts/e2e_go_tests.sh b/test/scripts/e2e_go_tests.sh index b0fb4bec3f..09371bb889 100755 --- a/test/scripts/e2e_go_tests.sh +++ b/test/scripts/e2e_go_tests.sh @@ -91,14 +91,7 @@ fi echo "PARALLEL_FLAG = ${PARALLEL_FLAG}" -if [ "$USE_CIRCLECI_SPLIT" != "" ]; then - PARALLEL_FLAG="-p 1" - PACKAGES="$(go list ./... | circleci tests split --split-by=timings --timings-type=classname)" - PACKAGE_NAMES=$(echo $PACKAGES | tr -d '\n') - echo "Testing the following packages:" - echo $PACKAGE_NAMES - gotestsum --format pkgname --junitfile $TEST_RESULTS/results.xml --jsonfile $TEST_RESULTS/testresults.json -- ${RACE_OPTION} ${PARALLEL_FLAG} -timeout 1h -v ${SHORTTEST} ${PACKAGE_NAMES} -elif [ "${#TESTPATTERNS[@]}" -eq 0 ]; then +if [ "${#TESTPATTERNS[@]}" -eq 0 ]; then ${GOTESTCOMMAND} ${RACE_OPTION} ${PARALLEL_FLAG} -timeout 1h -v ${SHORTTEST} ./... else for TEST in ${TESTPATTERNS[@]}; do