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

test: extend message timeout #910

Closed
wants to merge 11 commits into from
2 changes: 1 addition & 1 deletion waku/v2/protocol/filter/filter_push_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func (s *FilterTestSuite) TestValidPayloadsSQL() {

func (s *FilterTestSuite) TestLargePayloadsUTF8() {

s.ctx, s.ctxCancel = context.WithTimeout(context.Background(), 20*time.Second)
s.ctx, s.ctxCancel = context.WithTimeout(context.Background(), 30*time.Second)

// Subscribe
s.subDetails = s.subscribe(s.testTopic, s.testContentTopic, s.fullNodeHost.ID())
Expand Down
2 changes: 1 addition & 1 deletion waku/v2/protocol/filter/filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ func (s *FilterTestSuite) waitForMessages(fn func(), subs []*subscription.Subscr
if matchOneOfManyMsg(received, expected) {
found++
}
case <-time.After(1 * time.Second):
case <-time.After(2 * time.Second):

case <-s.ctx.Done():
s.Require().Fail("test exceeded allocated time")
Expand Down
Loading