Skip to content

Commit c6cf071

Browse files
tmdieppull[bot]
authored andcommitted
test(pubsublite): fix flaky TestStreamIdleTimerRestart (#8477)
Fixes: https://togithub.com/googleapis/google-cloud-go/issues/8352
1 parent 648f55e commit c6cf071

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pubsublite/internal/wire/request_timer_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ func TestStreamIdleTimerExpires(t *testing.T) {
102102
}
103103

104104
func TestStreamIdleTimerRestart(t *testing.T) {
105-
const timeout = 20 * time.Millisecond
106-
const delta = 15 * time.Millisecond
105+
const timeout = 100 * time.Millisecond
106+
const delta = 10 * time.Millisecond
107107
expired := test.NewCondition("timer expired")
108108

109109
st := newStreamIdleTimer(timeout, expired.SetDone)

0 commit comments

Comments
 (0)