diff --git a/build/teamcity/cockroach/nightlies/pebble_nightly_metamorphic_impl.sh b/build/teamcity/cockroach/nightlies/pebble_nightly_metamorphic_impl.sh index a3f668cc20b6..c2e472031075 100755 --- a/build/teamcity/cockroach/nightlies/pebble_nightly_metamorphic_impl.sh +++ b/build/teamcity/cockroach/nightlies/pebble_nightly_metamorphic_impl.sh @@ -26,6 +26,7 @@ $BAZEL_BIN/pkg/cmd/bazci/bazci_/bazci --config=ci test \ --run_under "@com_github_cockroachdb_stress//:stress -bazel -shardable-artifacts 'GO_TEST_JSON_OUTPUT_FILE=cat,XML_OUTPUT_FILE=$BAZEL_BIN/pkg/cmd/bazci/bazci_/bazci merge-test-xmls' -maxtime 3h -maxfails 1 -stderr -p 1" \ --test_arg -dir --test_arg $ARTIFACTS_DIR \ --test_arg -ops --test_arg "uniform:5000-10000" \ + --test_output streamed \ || exit_status=$? BAZEL_SUPPORT_EXTRA_GITHUB_POST_ARGS=--formatter=pebble-metamorphic process_test_json \ diff --git a/build/teamcity/cockroach/nightlies/stress_impl.sh b/build/teamcity/cockroach/nightlies/stress_impl.sh index 2032ab96b6b0..4b14aa2493fe 100755 --- a/build/teamcity/cockroach/nightlies/stress_impl.sh +++ b/build/teamcity/cockroach/nightlies/stress_impl.sh @@ -41,6 +41,7 @@ do --run_under "@com_github_cockroachdb_stress//:stress -bazel -shardable-artifacts 'GO_TEST_JSON_OUTPUT_FILE=cat,XML_OUTPUT_FILE=$BAZEL_BIN/pkg/cmd/bazci/bazci_/bazci merge-test-xmls' $STRESSFLAGS" \ --define "gotags=$TAGS" \ --nocache_test_results \ + --test_output streamed \ ${EXTRA_BAZEL_FLAGS} \ || exit_status=$? process_test_json \ diff --git a/pkg/cmd/github-pull-request-make/main.go b/pkg/cmd/github-pull-request-make/main.go index 9ce817bc37ee..430e9441f32c 100644 --- a/pkg/cmd/github-pull-request-make/main.go +++ b/pkg/cmd/github-pull-request-make/main.go @@ -317,6 +317,7 @@ func main() { args = append(args, "--test_arg=-test.timeout", fmt.Sprintf("--test_arg=%s", timeout)) // Give the entire test 1 more minute than the duration to wrap up. args = append(args, fmt.Sprintf("--test_timeout=%d", int((duration+1*time.Minute).Seconds()))) + args = append(args, "--test_output", "streamed") args = append(args, "--run_under", fmt.Sprintf("%s -bazel -shardable-artifacts 'XML_OUTPUT_FILE=%s merge-test-xmls' -stderr -maxfails 1 -maxtime %s -p %d", bazelStressTarget, bazciPath, duration, parallelism)) cmd := exec.Command("bazci", args...)