@@ -294,7 +294,7 @@ func TestBackupRestorePartitioned(t *testing.T) {
294294 // Disabled to run within tenant as certain MR features are not available to tenants.
295295 args := base.TestClusterArgs {
296296 ServerArgs : base.TestServerArgs {
297- DefaultTestTenant : base .TODOTestTenantDisabled ,
297+ DefaultTestTenant : base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet ( 142798 ) ,
298298 },
299299 ServerArgsPerNode : map [int ]base.TestServerArgs {
300300 0 : {
@@ -450,12 +450,14 @@ func TestBackupRestoreExecLocality(t *testing.T) {
450450 defer leaktest .AfterTest (t )()
451451 defer log .Scope (t ).Close (t )
452452
453+ skip .UnderRace (t , "too slow" )
454+
453455 const numAccounts = 1000
454456
455457 // Disabled to run within tenant as certain MR features are not available to tenants.
456458 args := base.TestClusterArgs {
457459 ServerArgs : base.TestServerArgs {
458- DefaultTestTenant : base .TODOTestTenantDisabled ,
460+ DefaultTestTenant : base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet ( 142798 ) ,
459461 },
460462 ServerArgsPerNode : map [int ]base.TestServerArgs {
461463 0 : {
@@ -4078,7 +4080,8 @@ func TestNonLinearChain(t *testing.T) {
40784080 defer cleanup ()
40794081
40804082 tc := testcluster .NewTestCluster (t , 1 , base.TestClusterArgs {ServerArgs : base.TestServerArgs {
4081- DefaultTestTenant : base .TODOTestTenantDisabled , ExternalIODir : dir , Knobs : base.TestingKnobs {
4083+ DefaultTestTenant : base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet (142798 ),
4084+ ExternalIODir : dir , Knobs : base.TestingKnobs {
40824085 JobsTestingKnobs : jobs .NewTestingKnobsWithShortIntervals (),
40834086 },
40844087 }})
@@ -6502,8 +6505,8 @@ func TestProtectedTimestampsFailDueToLimits(t *testing.T) {
65026505 // The meta table is used to track limits.
65036506 UseMetaTable : true ,
65046507 }
6505- // Test fails within a tenant. Tracked with #76378.
6506- params .ServerArgs .DefaultTestTenant = base .TODOTestTenantDisabled
6508+ // Test fails within a tenant.
6509+ params .ServerArgs .DefaultTestTenant = base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet ( 142798 )
65076510 tc := testcluster .StartTestCluster (t , 1 , params )
65086511 defer tc .Stopper ().Stop (ctx )
65096512 db := tc .ServerConn (0 )
@@ -9273,8 +9276,8 @@ func TestGCDropIndexSpanExpansion(t *testing.T) {
92739276 // This test hangs when run within a tenant. It's likely that
92749277 // the cause of the hang is the fact that we're waiting on the GC to
92759278 // complete, and we don't have visibility into the GC completing from
9276- // the tenant. More investigation is required. Tracked with #76378.
9277- DefaultTestTenant : base .TODOTestTenantDisabled ,
9279+ // the tenant. More investigation is required.
9280+ DefaultTestTenant : base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet ( 142798 ) ,
92789281 Knobs : base.TestingKnobs {
92799282 GCJob : & sql.GCJobTestingKnobs {
92809283 RunBeforePerformGC : func (id jobspb.JobID ) error {
@@ -9448,7 +9451,7 @@ func TestExcludeDataFromBackupAndRestore(t *testing.T) {
94489451 ServerArgs : base.TestServerArgs {
94499452 // Disabled to run within tenants because the function that sets up the restoring cluster
94509453 // has not been configured yet to run within tenants.
9451- DefaultTestTenant : base .TODOTestTenantDisabled ,
9454+ DefaultTestTenant : base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet ( 142798 ) ,
94529455 Knobs : base.TestingKnobs {
94539456 JobsTestingKnobs : jobs .NewTestingKnobsWithShortIntervals (), // speeds up test
94549457 SpanConfig : & spanconfig.TestingKnobs {
@@ -9549,8 +9552,8 @@ func TestExportRequestBelowGCThresholdOnDataExcludedFromBackup(t *testing.T) {
95499552 args := base.TestClusterArgs {
95509553 ServerArgs : base.TestServerArgs {
95519554 // Test fails when run within a tenant as zone config
9552- // updates are not allowed by default. Tracked with 73768.
9553- DefaultTestTenant : base .TODOTestTenantDisabled ,
9555+ // updates are not allowed by default.
9556+ DefaultTestTenant : base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet ( 142798 ) ,
95549557 },
95559558 }
95569559 args .ServerArgs .Knobs .Store = & kvserver.StoreTestingKnobs {
@@ -9654,8 +9657,8 @@ func TestExcludeDataFromBackupDoesNotHoldupGC(t *testing.T) {
96549657 params := base.TestClusterArgs {}
96559658 params .ServerArgs .ExternalIODir = dir
96569659 // Test fails when run within a tenant. More investigation is
9657- // required. Tracked with #76378.
9658- params .ServerArgs .DefaultTestTenant = base .TODOTestTenantDisabled
9660+ // required.
9661+ params .ServerArgs .DefaultTestTenant = base .TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet ( 142798 )
96599662 params .ServerArgs .Knobs .Store = & kvserver.StoreTestingKnobs {
96609663 DisableGCQueue : true ,
96619664 DisableLastProcessedCheck : true ,
0 commit comments