From 670c1a542390f0f6b570cbcec20d1efbb1cb3bc6 Mon Sep 17 00:00:00 2001 From: Aleksandra Bogoslavetc Date: Fri, 5 Feb 2021 21:56:02 +0300 Subject: [PATCH] test(bigtable): delete table retry fix (#3443) --- bigtable/integration_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bigtable/integration_test.go b/bigtable/integration_test.go index 38ad59425077..4a5e811bf35f 100644 --- a/bigtable/integration_test.go +++ b/bigtable/integration_test.go @@ -2378,9 +2378,9 @@ func deleteTable(ctx context.Context, t *testing.T, ac *AdminClient, name string err := internal.Retry(ctx, bo, func() (bool, error) { err := ac.DeleteTable(ctx, name) if err != nil { - return true, err + return false, err } - return false, nil + return true, nil }) if err != nil { t.Logf("DeleteTable: %v", err)