Skip to content

Commit d407a9e

Browse files
committed
server: use specific issues for disabling test tenant
Release note: None
1 parent f09626f commit d407a9e

File tree

5 files changed

+7
-17
lines changed

5 files changed

+7
-17
lines changed

pkg/server/application_api/config_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,7 @@ func TestClusterAPI(t *testing.T) {
166166
defer leaktest.AfterTest(t)()
167167
defer log.Scope(t).Close(t)
168168
s, db, _ := serverutils.StartServer(t, base.TestServerArgs{
169-
// Disable the default test tenant for now as this tests fails
170-
// with it enabled. Tracked with #81590.
171-
DefaultTestTenant: base.TODOTestTenantDisabled,
169+
DefaultTestTenant: base.TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet(81590),
172170
})
173171
defer s.Stopper().Stop(context.Background())
174172

@@ -214,9 +212,7 @@ func TestAdminAPILocations(t *testing.T) {
214212
defer log.Scope(t).Close(t)
215213

216214
s, conn, _ := serverutils.StartServer(t, base.TestServerArgs{
217-
// Disable the default test tenant for now as this tests fails
218-
// with it enabled. Tracked with #81590.
219-
DefaultTestTenant: base.TODOTestTenantDisabled,
215+
DefaultTestTenant: base.TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet(81590),
220216
})
221217
defer s.Stopper().Stop(context.Background())
222218
sqlDB := sqlutils.MakeSQLRunner(conn)

pkg/server/application_api/dbconsole_test.go

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ func TestAdminAPIUIData(t *testing.T) {
2727
defer leaktest.AfterTest(t)()
2828
defer log.Scope(t).Close(t)
2929
s := serverutils.StartServerOnly(t, base.TestServerArgs{
30-
// Disable the default test tenant for now as this tests fails
31-
// with it enabled. Tracked with #81590.
32-
DefaultTestTenant: base.TODOTestTenantDisabled,
30+
DefaultTestTenant: base.TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet(81590),
3331
})
3432
defer s.Stopper().Stop(context.Background())
3533

@@ -138,9 +136,7 @@ func TestAdminAPIUISeparateData(t *testing.T) {
138136
defer leaktest.AfterTest(t)()
139137
defer log.Scope(t).Close(t)
140138
s := serverutils.StartServerOnly(t, base.TestServerArgs{
141-
// Disable the default test tenant for now as this tests fails
142-
// with it enabled. Tracked with #81590.
143-
DefaultTestTenant: base.TODOTestTenantDisabled,
139+
DefaultTestTenant: base.TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet(81590),
144140
})
145141
defer s.Stopper().Stop(context.Background())
146142

pkg/server/grpc_gateway_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@ func TestEndpointTelemetryBasic(t *testing.T) {
2727
defer log.Scope(t).Close(t)
2828

2929
s := serverutils.StartServerOnly(t, base.TestServerArgs{
30-
// Disable the default test tenant for now as this tests fails
31-
// with it enabled. Tracked with #81590.
32-
DefaultTestTenant: base.TODOTestTenantDisabled,
30+
DefaultTestTenant: base.TestDoesNotWorkWithSecondaryTenantsButWeDontKnowWhyYet(81590),
3331
DefaultDRPCOption: base.TestDRPCDisabled,
3432
})
3533
defer s.Stopper().Stop(context.Background())

pkg/server/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ func TestMain(m *testing.M) {
2727
kvtenant.InitTestConnectorFactory()
2828

2929
defer serverutils.TestingSetDefaultTenantSelectionOverride(
30-
base.TestIsForStuffThatShouldWorkWithSecondaryTenantsButDoesntYet(76378),
30+
base.TestIsForStuffThatShouldWorkWithSecondaryTenantsButDoesntYet(156304),
3131
)()
3232

3333
defer serverutils.TestingGlobalDRPCOption(

pkg/server/multi_store_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func TestAddNewStoresToExistingNodes(t *testing.T) {
5959
ReplicationMode: base.ReplicationAuto,
6060
ServerArgsPerNode: map[int]base.TestServerArgs{},
6161
ServerArgs: base.TestServerArgs{
62-
DefaultTestTenant: base.TODOTestTenantDisabled,
62+
DefaultTestTenant: base.TestIsSpecificToStorageLayerAndNeedsASystemTenant,
6363
},
6464
}
6565
for srvIdx := 0; srvIdx < numNodes; srvIdx++ {

0 commit comments

Comments
 (0)