Skip to content

Commit

Permalink
fix exactly once delivery test
Browse files Browse the repository at this point in the history
  • Loading branch information
hongalex committed Aug 28, 2023
1 parent 567ed2d commit 2fef801
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pubsub/subscription_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -689,8 +689,6 @@ func TestExactlyOnceDelivery_AckRetryDeadlineExceeded(t *testing.T) {

s.ReceiveSettings = ReceiveSettings{
NumGoroutines: 1,
// This needs to be greater than total deadline otherwise the message will be redelivered.
MinExtensionPeriod: 30 * time.Second,
}
// Override the default timeout here so this test doesn't take 10 minutes.
exactlyOnceDeliveryRetryDeadline = 10 * time.Second
Expand Down

0 comments on commit 2fef801

Please sign in to comment.