Skip to content

Commit

Permalink
test(pubsub): increase ordering key test timeout (#4584)
Browse files Browse the repository at this point in the history
From discussion with @kamalaboulhosn, increasing the test timeout for this ordering key test should help with flakiness.

Fixes #3626
  • Loading branch information
hongalex committed Aug 10, 2021
1 parent ae8a9a1 commit 770eaf2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pubsub/integration_test.go
Expand Up @@ -1188,7 +1188,6 @@ func TestIntegration_OrderedKeys_Basic(t *testing.T) {
}

func TestIntegration_OrderedKeys_JSON(t *testing.T) {
t.Skip("https://github.com/googleapis/google-cloud-go/issues/3626")
ctx := context.Background()
client := integrationTestClient(ctx, t, option.WithEndpoint("us-west1-pubsub.googleapis.com:443"))
defer client.Close()
Expand Down Expand Up @@ -1283,8 +1282,8 @@ func TestIntegration_OrderedKeys_JSON(t *testing.T) {

select {
case <-done:
case <-time.After(60 * time.Second):
t.Fatal("timed out after 60s waiting for all messages to be received")
case <-time.After(5 * time.Minute):
t.Fatal("timed out after 5m waiting for all messages to be received")
}

mu.Lock()
Expand Down

0 comments on commit 770eaf2

Please sign in to comment.