Skip to content

Commit f01b78c

Browse files
craig[bot]stevendanna
andcommitted
Merge #154952
154952: dev: describe useful environment variable in test help r=rickystewart a=stevendanna I always forget the names of these and usually have to grep for them. Maybe others will also find this useful. Epic: none Release note: None Co-authored-by: Steven Danna <[email protected]>
2 parents a09dc3c + 7823101 commit f01b78c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/cmd/dev/test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,12 @@ pkg/kv/kvserver:kvserver_test) instead.`,
9696
9797
dev test pkg/server -- --test_env=COCKROACH_RANDOM_SEED=1234
9898
Run a test with a specified seed by passing the --test_env flag directly to bazel
99+
100+
Test-relevant environment variables:
101+
COCKROACH_RANDOM_SEED=n Set a seed for the random number generator.
102+
COCKROACH_TEST_TENANT=(shared|external|disabled) Specify or disable randomized tenant testing.
103+
COCKROACH_TEST_DRPC=(enabled|disabled) Enable/Disable DRPC (gRPC replacement).
104+
COCKROACH_FORCE_RUN_SKIPPED_TESTS=true Ignore skip.UnderStress and friends.
99105
`,
100106
Args: cobra.MinimumNArgs(0),
101107
RunE: runE,

0 commit comments

Comments
 (0)