From 86cd9acda8ba46ff245ac62e078a18816f3f89da Mon Sep 17 00:00:00 2001 From: Chandra Thumuluru Date: Thu, 26 Sep 2024 07:49:00 +0530 Subject: [PATCH] cli: {2} is reserved tenant ID, use {3} as tenant ID for demoapp --- pkg/cli/democluster/demo_cluster.go | 2 +- pkg/cli/democluster/demo_cluster_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/cli/democluster/demo_cluster.go b/pkg/cli/democluster/demo_cluster.go index b861e11bc412..aa40446db36f 100644 --- a/pkg/cli/democluster/demo_cluster.go +++ b/pkg/cli/democluster/demo_cluster.go @@ -104,7 +104,7 @@ const maxNodeInitTime = 60 * time.Second // secondaryTenantID is the ID of the secondary tenant to use when // --multitenant=true. -const secondaryTenantID = 2 +const secondaryTenantID = 3 // demoOrg is the organization to use to request an evaluation // license. diff --git a/pkg/cli/democluster/demo_cluster_test.go b/pkg/cli/democluster/demo_cluster_test.go index 7f40dcea4f41..75f23854075e 100644 --- a/pkg/cli/democluster/demo_cluster_test.go +++ b/pkg/cli/democluster/demo_cluster_test.go @@ -406,7 +406,7 @@ func TestTenantCapabilities(t *testing.T) { if cap == tenantcapabilities.TenantSpanConfigBounds { capValue = `{}` } - expectedRows = append(expectedRows, []string{`2`, demoTenantName, `ready`, `shared`, cap.String(), capValue}) + expectedRows = append(expectedRows, []string{`3`, demoTenantName, `ready`, `shared`, cap.String(), capValue}) } if !reflect.DeepEqual(expectedRows, rows) { t.Fatalf("expected:\n%v\ngot:\n%v", expectedRows, rows)