Skip to content

Commit 79f7121

Browse files
craig[bot]sambhav-jain-16
craig[bot]
andcommitted
129390: workflows: disable cockroach-microbench-ci step for pull requests r=sambhav-jain-16 a=sambhav-jain-16 This change disbales the CI step for pull requests but this still runs for push step into the target branch. Also the count of the microbenchmarks are increased to get more robust results. Epic: none Release note: None Co-authored-by: Sambhav Jain <[email protected]>
2 parents 6866fbf + e2b7b6c commit 79f7121

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: .github/workflows/github-actions-essential-ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@ jobs:
347347
if: always()
348348
cockroach-microbench-ci:
349349
runs-on: [ self-hosted, basic_runner_group ]
350+
# TODO(sambhav-jain-16): enable this for pull requests also
351+
if: ${{ github.event_name == 'push' }}
350352
timeout-minutes: 60
351353
steps:
352354
- uses: actions/checkout@v4

Diff for: build/github/cockroach-microbench-ci.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bazel test //pkg/sql/tests:tests_test \
4444
--test_sharding_strategy=disabled \
4545
--test_arg=-test.cpu --test_arg=1 \
4646
--test_arg=-test.v \
47-
--test_arg=-test.count=4 \
47+
--test_arg=-test.count=10 \
4848
--test_arg=-test.benchmem \
4949
--crdb_test_off \
5050
--test_output=all > "$log_output_file_path"

0 commit comments

Comments
 (0)