Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pubsub): update quiescenceDur in failing e2e test #3780

Merged
merged 2 commits into from Mar 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions pubsub/internal/longtest/endtoend_test.go
Expand Up @@ -184,7 +184,7 @@ func TestEndToEnd_LongProcessingTime(t *testing.T) {
sub.ReceiveSettings.Synchronous = true
sub.ReceiveSettings.MaxOutstandingMessages = 500

err = publish(ctx, topic, 1000)
err = publish(ctx, topic, 500)
topic.Stop()
if err != nil {
t.Fatalf("publish: %v", err)
Expand All @@ -208,7 +208,7 @@ func TestEndToEnd_LongProcessingTime(t *testing.T) {
// deadline extended.
// 2. To wait for redelivery of messages that were en route when a Receive
// is canceled. This can take considerably longer than the ack deadline.
quiescenceDur := ackDeadline * 6
quiescenceDur := 12 * ackDeadline
quiescenceTimer := time.NewTimer(quiescenceDur)
loop:
for {
Expand Down