Skip to content

Commit

Permalink
test(bigtable): avoid instance name collisions to speed up creation (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
crwilcox committed Oct 9, 2021
1 parent 5608b12 commit 5882cc7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bigtable/integration_test.go
Expand Up @@ -1441,6 +1441,7 @@ func TestIntegration_AdminCreateInstance(t *testing.T) {
if instanceToCreate == "" {
t.Skip("instanceToCreate not set, skipping instance creation testing")
}
instanceToCreate += "0"

testEnv, err := NewIntegrationEnv()
if err != nil {
Expand Down Expand Up @@ -1540,6 +1541,7 @@ func TestIntegration_AdminEncryptionInfo(t *testing.T) {
if instanceToCreate == "" {
t.Skip("instanceToCreate not set, skipping instance creation testing")
}
instanceToCreate += "1"

testEnv, err := NewIntegrationEnv()
if err != nil {
Expand Down Expand Up @@ -1718,6 +1720,8 @@ func TestIntegration_AdminUpdateInstanceLabels(t *testing.T) {
if instanceToCreate == "" {
t.Skip("instanceToCreate not set, skipping instance creation testing")
}
instanceToCreate += "2"

testEnv, err := NewIntegrationEnv()
if err != nil {
t.Fatalf("IntegrationEnv: %v", err)
Expand Down Expand Up @@ -1809,6 +1813,7 @@ func TestIntegration_AdminUpdateInstanceAndSyncClusters(t *testing.T) {
if instanceToCreate == "" {
t.Skip("instanceToCreate not set, skipping instance update testing")
}
instanceToCreate += "3"

testEnv, err := NewIntegrationEnv()
if err != nil {
Expand Down

0 comments on commit 5882cc7

Please sign in to comment.