test(pubsub): increase ordering key test timeout
From discussion with increasing the test timeout for this ordering key test should help with flakiness.
Fixes
@@ -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()
@@ -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()
