File tree 2 files changed +16
-1
lines changed
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -526,6 +526,19 @@ func TestIsForStuffThatShouldWorkWithSharedProcessModeButDoesntYet(
526
526
//
527
527
// It should link to a github issue with label C-investigation.
528
528
func TestSkippedForExternalModeDueToPerformance (issueNumber int ) DefaultTestTenantOptions {
529
+ return testSkippedForExternalProcessMode (issueNumber )
530
+ }
531
+
532
+ // TestDoesNotWorkWithExternalProcessMode disables selecting the external
533
+ // process virtual cluster for tests that are not functional in that mode and
534
+ // require further investigation. Any test using this function should reference
535
+ // a GitHub issue tagged with "C-investigation" describing the underlying
536
+ // problem.
537
+ func TestDoesNotWorkWithExternalProcessMode (issueNumber int ) DefaultTestTenantOptions {
538
+ return testSkippedForExternalProcessMode (issueNumber )
539
+ }
540
+
541
+ func testSkippedForExternalProcessMode (issueNumber int ) DefaultTestTenantOptions {
529
542
return DefaultTestTenantOptions {
530
543
testBehavior : ttSharedProcess ,
531
544
allowAdditionalTenants : true ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import (
12
12
"errors"
13
13
"testing"
14
14
15
+ "github.com/cockroachdb/cockroach/pkg/base"
15
16
"github.com/cockroachdb/cockroach/pkg/jobs"
16
17
"github.com/cockroachdb/cockroach/pkg/keys"
17
18
"github.com/cockroachdb/cockroach/pkg/kv"
@@ -269,7 +270,8 @@ func TestUnsplitRanges(t *testing.T) {
269
270
270
271
ctx := context .Background ()
271
272
run := func (t * testing.T , tc testCase ) {
272
- params , _ := createTestServerParams ()
273
+ params , _ := createTestServerParamsAllowTenants ()
274
+ params .DefaultTestTenant = base .TestDoesNotWorkWithExternalProcessMode (142388 )
273
275
params .Knobs .JobsTestingKnobs = jobs .NewTestingKnobsWithShortIntervals ()
274
276
params .Knobs .GCJob = & sql.GCJobTestingKnobs {
275
277
SkipWaitingForMVCCGC : true ,
You can’t perform that action at this time.
0 commit comments