@@ -519,6 +519,34 @@ func TestIsForStuffThatShouldWorkWithSharedProcessModeButDoesntYet(
519
519
}
520
520
}
521
521
522
+ // TestSkippedForExternalModeDueToPerformance can be used to disable selecting
523
+ // the external process virtual cluster due to significant performance
524
+ // degradation compared to other modes. However, the goal is to eventually make
525
+ // it work efficiently in external mode.
526
+ //
527
+ // It should link to a github issue with label C-investigation.
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 {
542
+ return DefaultTestTenantOptions {
543
+ testBehavior : ttSharedProcess ,
544
+ allowAdditionalTenants : true ,
545
+ issueNum : issueNumber ,
546
+ label : "C-investigation" ,
547
+ }
548
+ }
549
+
522
550
// InternalNonDefaultDecision builds a sentinel value used inside a
523
551
// mechanism in serverutils. Should not be used by tests directly.
524
552
func InternalNonDefaultDecision (
0 commit comments