@@ -128,6 +128,7 @@ function build_pass {
128128function unit_pass {
129129 run_for_all_workspace_modules \
130130 run_go_tests -short \
131+ -failfast \
131132 -timeout=" ${TIMEOUT:- 3m} " \
132133 " ${COMMON_TEST_FLAGS[@]} " \
133134 " ${RUN_ARG[@]} " \
@@ -136,12 +137,11 @@ function unit_pass {
136137
137138function integration_extra {
138139 if [ -z " ${PKG} " ] ; then
139- KEEP_GOING_TESTS=true \
140- run_go_tests_expanding_packages ./tests/integration/v2store/... \
141- -timeout=" ${TIMEOUT:- 5m} " \
142- " ${COMMON_TEST_FLAGS[@]} " \
143- " ${RUN_ARG[@]} " \
144- " $@ "
140+ run_go_tests_expanding_packages ./tests/integration/v2store/... \
141+ -timeout=" ${TIMEOUT:- 5m} " \
142+ " ${COMMON_TEST_FLAGS[@]} " \
143+ " ${RUN_ARG[@]} " \
144+ " $@ "
145145 else
146146 log_warning " integration_extra ignored when PKG is specified"
147147 fi
@@ -150,13 +150,15 @@ function integration_extra {
150150function integration_pass {
151151 run_go_tests ./tests/integration/... \
152152 -p=2 \
153+ -failfast \
153154 -timeout=" ${TIMEOUT:- 15m} " \
154155 " ${COMMON_TEST_FLAGS[@]} " \
155156 " ${RUN_ARG[@]} " \
156157 " $@ "
157158
158159 run_go_tests ./tests/common/... \
159160 -p=2 \
161+ -failfast \
160162 -tags=integration \
161163 -timeout=" ${TIMEOUT:- 15m} " \
162164 " ${COMMON_TEST_FLAGS[@]} " \
@@ -168,26 +170,23 @@ function integration_pass {
168170
169171function e2e_pass {
170172 # e2e tests are running pre-build binary. Settings like --race,-cover,-cpu do not have any impact.
171- KEEP_GOING_TESTS=true \
172- run_go_tests_expanding_packages ./tests/e2e/... \
173- -timeout=" ${TIMEOUT:- 30m} " \
174- " ${RUN_ARG[@]} " \
175- " $@ "
176- KEEP_GOING_TESTS=true \
177- run_go_tests_expanding_packages ./tests/common/... \
178- -tags=e2e \
179- -timeout=" ${TIMEOUT:- 30m} " \
180- " ${RUN_ARG[@]} " \
181- " $@ "
173+ run_go_tests_expanding_packages ./tests/e2e/... \
174+ -timeout=" ${TIMEOUT:- 30m} " \
175+ " ${RUN_ARG[@]} " \
176+ " $@ "
177+ run_go_tests_expanding_packages ./tests/common/... \
178+ -tags=e2e \
179+ -timeout=" ${TIMEOUT:- 30m} " \
180+ " ${RUN_ARG[@]} " \
181+ " $@ "
182182}
183183
184184function robustness_pass {
185185 # e2e tests are running pre-build binary. Settings like --race,-cover,-cpu does not have any impact.
186- KEEP_GOING_TESTS=true \
187- run_go_tests ./tests/robustness \
188- -timeout=" ${TIMEOUT:- 30m} " \
189- " ${RUN_ARG[@]} " \
190- " $@ "
186+ run_go_tests ./tests/robustness \
187+ -timeout=" ${TIMEOUT:- 30m} " \
188+ " ${RUN_ARG[@]} " \
189+ " $@ "
191190}
192191
193192function integration_e2e_pass {
0 commit comments