Skip to content

Commit 9844ee9

Browse files
committed
partitionccl: enable test tenants
Release note: None
1 parent bc94681 commit 9844ee9

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

pkg/ccl/partitionccl/drop_test.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ func TestDropIndexWithZoneConfigCCL(t *testing.T) {
4949
asyncNotification := make(chan struct{})
5050

5151
var params base.TestServerArgs
52-
params.DefaultTestTenant = base.TODOTestTenantDisabled
5352
params.Knobs = base.TestingKnobs{
5453
GCJob: &sql.GCJobTestingKnobs{
5554
RunBeforeResume: func(_ jobspb.JobID) error {
@@ -202,8 +201,7 @@ SELECT job_id
202201
ctx := context.Background()
203202
tc := testcluster.StartTestCluster(t, 1, base.TestClusterArgs{
204203
ServerArgs: base.TestServerArgs{
205-
DefaultTestTenant: base.TODOTestTenantDisabled,
206-
Knobs: knobs,
204+
Knobs: knobs,
207205
},
208206
})
209207
defer tc.Stopper().Stop(ctx)
@@ -248,8 +246,7 @@ range_max_bytes = 654321000`)
248246
ctx := context.Background()
249247
tc := testcluster.StartTestCluster(t, 1, base.TestClusterArgs{
250248
ServerArgs: base.TestServerArgs{
251-
DefaultTestTenant: base.TODOTestTenantDisabled,
252-
Knobs: knobs,
249+
Knobs: knobs,
253250
},
254251
})
255252
defer tc.Stopper().Stop(ctx)

pkg/ccl/partitionccl/partition_test.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ func TestRemovePartitioningExpiredLicense(t *testing.T) {
3131
defer utilccl.TestingEnableEnterprise()()
3232

3333
ctx := context.Background()
34-
s, sqlDBRaw, _ := serverutils.StartServer(t, base.TestServerArgs{
35-
UseDatabase: "d",
36-
DefaultTestTenant: base.TODOTestTenantDisabled,
34+
srv, sqlDBRaw, _ := serverutils.StartServer(t, base.TestServerArgs{
35+
UseDatabase: "d",
3736
})
38-
defer s.Stopper().Stop(ctx)
37+
defer srv.Stopper().Stop(ctx)
3938

4039
// Create a partitioned table and index.
4140
sqlDB := sqlutils.MakeSQLRunner(sqlDBRaw)

0 commit comments

Comments
 (0)