File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed
Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 2626dev bench pkg/spanconfig/spanconfigkvsubscriber -f=BenchmarkSpanConfigDecoder --cpus=10 --ignore-cache=false -v --timeout=50s
2727----
2828echo $HOME/.cache
29- bazel test --local_cpu_resources=10 --test_timeout=50 pkg/spanconfig/spanconfigkvsubscriber:all --test_arg -test.run=- --test_arg -test.bench=BenchmarkSpanConfigDecoder --test_sharding_strategy=disabled --test_arg -test.cpu --test_arg 1 --test_arg -test.v --test_arg -test.benchmem --crdb_test_off --crdb_bench --test_env COCKROACH_TEST_FIXTURES_DIR=crdb-mock-test-fixtures/crdb-test-fixtures --sandbox_writable_path=crdb-mock-test-fixtures/crdb-test-fixtures --test_output streamed
29+ bazel test --local_cpu_resources=10 --jobs=10 -- test_timeout=50 pkg/spanconfig/spanconfigkvsubscriber:all --test_arg -test.run=- --test_arg -test.bench=BenchmarkSpanConfigDecoder --test_sharding_strategy=disabled --test_arg -test.cpu --test_arg 1 --test_arg -test.v --test_arg -test.benchmem --crdb_test_off --crdb_bench --test_env COCKROACH_TEST_FIXTURES_DIR=crdb-mock-test-fixtures/crdb-test-fixtures --sandbox_writable_path=crdb-mock-test-fixtures/crdb-test-fixtures --test_output streamed
3030
3131exec
3232dev bench pkg/bench -f='BenchmarkTracing/1node/scan/trace=off' --test-args '-test.memprofile=mem.out -test.cpuprofile=cpu.out'
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ cp sandbox/pkg/cmd/cockroach-short/cockroach-short_/cockroach-short crdb-checkou
1313exec
1414dev build cockroach-short --cpus=12
1515----
16- bazel build --local_cpu_resources=12 //pkg/cmd/cockroach-short:cockroach-short --build_event_binary_file=/tmp/path
16+ bazel build --local_cpu_resources=12 --jobs=12 //pkg/cmd/cockroach-short:cockroach-short --build_event_binary_file=/tmp/path
1717bazel info workspace --color=no
1818mkdir crdb-checkout/bin
1919bazel info bazel-bin --color=no
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ bazel info workspace --color=no
5959bazel info workspace --color=no
6060bazel run pkg/cmd/generate-logictest -- -out-dir=crdb-checkout
6161bazel run //pkg/gen:schemachanger
62- bazel test //pkg/sql/logictest/tests/... --test_env=GOTRACEBACK=all --local_cpu_resources=8 --test_arg -show-sql --test_timeout=60 --test_env=COCKROACH_STRESS=true --notest_keep_going --runs_per_test=500 --test_filter auto_span_config_reconciliation/ --test_sharding_strategy=disabled --test_output errors
62+ bazel test //pkg/sql/logictest/tests/... --test_env=GOTRACEBACK=all --local_cpu_resources=8 --jobs=8 -- test_arg -show-sql --test_timeout=60 --test_env=COCKROACH_STRESS=true --notest_keep_going --runs_per_test=500 --test_filter auto_span_config_reconciliation/ --test_sharding_strategy=disabled --test_output errors
6363
6464exec
6565dev testlogic base --files=auto_span_config_reconciliation --stress
Original file line number Diff line number Diff line change @@ -265,6 +265,7 @@ func (d *dev) getMergeBaseHash(ctx context.Context) (string, error) {
265265func addCommonBazelArguments (args * []string ) {
266266 if numCPUs != 0 {
267267 * args = append (* args , fmt .Sprintf ("--local_cpu_resources=%d" , numCPUs ))
268+ * args = append (* args , fmt .Sprintf ("--jobs=%d" , numCPUs ))
268269 }
269270 if pgoEnabled {
270271 * args = append (* args , "--config=pgo" )
You can’t perform that action at this time.
0 commit comments