Skip to content

Commit dda6410

Browse files
craig[bot]shubhamdhama
craig[bot]
andcommitted
Merge #139227
139227: demo: remove `TODOTestTenantDisabled` usage r=cthumuluru-crdb a=shubhamdhama Since the `demo` is controlling the tenants explicitly, `TestControlsTenantsExplicitly` makes more sense here. Informs: #138912 Epic: CRDB-38970 Release note: None Co-authored-by: Shubham Dhama <[email protected]>
2 parents 6647d05 + 1953937 commit dda6410

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pkg/cli/democluster/demo_cluster.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ func (demoCtx *Context) testServerArgsForTransientCluster(
924924
EnableDemoLoginEndpoint: true,
925925
// Demo clusters by default will create their own tenants, so we
926926
// don't need to create them here.
927-
DefaultTestTenant: base.TODOTestTenantDisabled,
927+
DefaultTestTenant: base.TestControlsTenantsExplicitly,
928928
DefaultTenantName: roachpb.TenantName(demoTenantName),
929929

930930
Knobs: base.TestingKnobs{

pkg/cli/democluster/demo_cluster_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func TestTestServerArgsForTransientCluster(t *testing.T) {
6767
cacheSize: 1 << 10,
6868
expected: base.TestServerArgs{
6969
DefaultTenantName: "demoapp",
70-
DefaultTestTenant: base.TODOTestTenantDisabled,
70+
DefaultTestTenant: base.TestControlsTenantsExplicitly,
7171
PartOfCluster: true,
7272
JoinAddr: "127.0.0.1",
7373
DisableTLSForHTTP: true,
@@ -95,7 +95,7 @@ func TestTestServerArgsForTransientCluster(t *testing.T) {
9595
cacheSize: 4 << 10,
9696
expected: base.TestServerArgs{
9797
DefaultTenantName: "demoapp",
98-
DefaultTestTenant: base.TODOTestTenantDisabled,
98+
DefaultTestTenant: base.TestControlsTenantsExplicitly,
9999
PartOfCluster: true,
100100
JoinAddr: "127.0.0.1",
101101
Addr: "127.0.0.1:1336",

0 commit comments

Comments
 (0)