Skip to content

Commit

Permalink
extend timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
joedixon committed Nov 26, 2023
1 parent ff7a8c3 commit 5f8c6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ReverbTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ public function messagePromise(WebSocket $connection)
$promise->resolve((string) $message);
});

return timeout($promise->promise(), 1, $this->loop)
return timeout($promise->promise(), 2, $this->loop)
->then(
fn ($message) => $message,
fn (TimeoutException $error) => false
Expand Down

0 comments on commit 5f8c6ec

Please sign in to comment.