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 26
26
dev bench pkg/spanconfig/spanconfigkvsubscriber -f=BenchmarkSpanConfigDecoder --cpus=10 --ignore-cache=false -v --timeout=50s
27
27
----
28
28
echo $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
30
30
31
31
exec
32
32
dev 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
13
13
exec
14
14
dev build cockroach-short --cpus=12
15
15
----
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
17
17
bazel info workspace --color=no
18
18
mkdir crdb-checkout/bin
19
19
bazel info bazel-bin --color=no
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ bazel info workspace --color=no
59
59
bazel info workspace --color=no
60
60
bazel run pkg/cmd/generate-logictest -- -out-dir=crdb-checkout
61
61
bazel 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
63
63
64
64
exec
65
65
dev 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) {
265
265
func addCommonBazelArguments (args * []string ) {
266
266
if numCPUs != 0 {
267
267
* args = append (* args , fmt .Sprintf ("--local_cpu_resources=%d" , numCPUs ))
268
+ * args = append (* args , fmt .Sprintf ("--jobs=%d" , numCPUs ))
268
269
}
269
270
if pgoEnabled {
270
271
* args = append (* args , "--config=pgo" )
You can’t perform that action at this time.
0 commit comments