From 0ce8f631b31e4993e71f3a44ebb30ced98daf3da Mon Sep 17 00:00:00 2001 From: Xinhao Yuan Date: Mon, 16 Dec 2024 11:02:42 -0800 Subject: [PATCH] Change puzzle test timeout from 300s to 600s to resolve the recent timeouts. PiperOrigin-RevId: 706767619 --- .github/workflows/bazel_test_centipede.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/bazel_test_centipede.yml b/.github/workflows/bazel_test_centipede.yml index bcdf48d8..fe391fe8 100644 --- a/.github/workflows/bazel_test_centipede.yml +++ b/.github/workflows/bazel_test_centipede.yml @@ -61,11 +61,11 @@ jobs: - name: Run puzzles if: matrix.config == 'default' run: | - bazel test --test_output=errors centipede/puzzles:all + bazel test --test_output=errors --test_timeout=600 centipede/puzzles:all - name: Run puzzles with ASAN if: matrix.config == 'asan' run: | - bazel test --test_output=errors --linkopt=-fsanitize=address --copt=-fsanitize=address --test_env=ASAN_OPTIONS=detect_leaks=0 centipede/puzzles:all + bazel test --test_output=errors --linkopt=-fsanitize=address --copt=-fsanitize=address --test_env=ASAN_OPTIONS=detect_leaks=0 --test_timeout=600 centipede/puzzles:all - name: Run unit tests without Riegeli if: matrix.config == 'noriegeli' run: | @@ -77,11 +77,11 @@ jobs: - name: Run puzzles without Riegeli if: matrix.config == 'noriegeli' run: | - bazel test --no//fuzztest:use_riegeli --test_output=errors centipede/puzzles:all + bazel test --no//fuzztest:use_riegeli --test_output=errors --test_timeout=600 centipede/puzzles:all - name: Run puzzles without Riegeli with ASAN if: matrix.config == 'noriegeli' run: | - bazel test --no//fuzztest:use_riegeli --test_output=errors --linkopt=-fsanitize=address --copt=-fsanitize=address --test_env=ASAN_OPTIONS=detect_leaks=0 --platform_suffix=asan centipede/puzzles:all + bazel test --no//fuzztest:use_riegeli --test_output=errors --linkopt=-fsanitize=address --copt=-fsanitize=address --test_env=ASAN_OPTIONS=detect_leaks=0 --platform_suffix=asan --test_timeout=600 centipede/puzzles:all - name: Save new cache based on main if: github.ref == 'refs/heads/main' uses: actions/cache/save@v4 @@ -118,11 +118,11 @@ jobs: - name: Run puzzles without Riegeli if: ${{ !cancelled() }} run: | - bazel --output_user_root="${HOME}/.cache/bazel" test --test_output=errors --no//fuzztest:use_riegeli centipede/puzzles:all + bazel --output_user_root="${HOME}/.cache/bazel" test --test_output=errors --no//fuzztest:use_riegeli --test_timeout=600 centipede/puzzles:all - name: Run puzzles without Riegeli with ASAN if: ${{ !cancelled() }} run: | - bazel --output_user_root="${HOME}/.cache/bazel" test --test_output=errors --no//fuzztest:use_riegeli --linkopt=-fsanitize=address --copt=-fsanitize=address --test_env=ASAN_OPTIONS=detect_leaks=0 --platform_suffix=asan centipede/puzzles:all + bazel --output_user_root="${HOME}/.cache/bazel" test --test_output=errors --no//fuzztest:use_riegeli --linkopt=-fsanitize=address --copt=-fsanitize=address --test_env=ASAN_OPTIONS=detect_leaks=0 --platform_suffix=asan --test_timeout=600 centipede/puzzles:all - name: Save new cache based on main if: github.ref == 'refs/heads/main' uses: actions/cache/save@v4