@@ -512,6 +512,34 @@ func TestIsForStuffThatShouldWorkWithSharedProcessModeButDoesntYet(
512
512
}
513
513
}
514
514
515
+ // TestSkippedForExternalModeDueToPerformance can be used to disable selecting
516
+ // the external process virtual cluster due to significant performance
517
+ // degradation compared to other modes. However, the goal is to eventually make
518
+ // it work efficiently in external mode.
519
+ //
520
+ // It should link to a github issue with label C-investigation.
521
+ func TestSkippedForExternalModeDueToPerformance (issueNumber int ) DefaultTestTenantOptions {
522
+ return testSkippedForExternalProcessMode (issueNumber )
523
+ }
524
+
525
+ // TestDoesNotWorkWithExternalProcessMode disables selecting the external
526
+ // process virtual cluster for tests that are not functional in that mode and
527
+ // require further investigation. Any test using this function should reference
528
+ // a GitHub issue tagged with "C-investigation" describing the underlying
529
+ // problem.
530
+ func TestDoesNotWorkWithExternalProcessMode (issueNumber int ) DefaultTestTenantOptions {
531
+ return testSkippedForExternalProcessMode (issueNumber )
532
+ }
533
+
534
+ func testSkippedForExternalProcessMode (issueNumber int ) DefaultTestTenantOptions {
535
+ return DefaultTestTenantOptions {
536
+ testBehavior : ttSharedProcess ,
537
+ allowAdditionalTenants : true ,
538
+ issueNum : issueNumber ,
539
+ label : "C-investigation" ,
540
+ }
541
+ }
542
+
515
543
// InternalNonDefaultDecision builds a sentinel value used inside a
516
544
// mechanism in serverutils. Should not be used by tests directly.
517
545
func InternalNonDefaultDecision (
0 commit comments