Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
131805: cli: {2} is reserved tenant ID, use {3} as tenant ID for demoapp r=cthumuluru-crdb a=cthumuluru-crdb



Co-authored-by: Chandra Thumuluru <[email protected]>
  • Loading branch information
craig[bot] and cthumuluru-crdb committed Oct 4, 2024
2 parents 4de315c + 86cd9ac commit e7b9bdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cli/democluster/demo_cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/democluster/demo_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e7b9bdd

Please sign in to comment.