Skip to content

Commit

Permalink
Ignore failed push in test
Browse files Browse the repository at this point in the history
  • Loading branch information
trowski committed Nov 18, 2022
1 parent 0239c53 commit 419f1ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/QueueTest.php
Expand Up @@ -544,7 +544,9 @@ public function testBufferSize(int $bufferSize): void
self::assertTrue($pipeline->continue());
self::assertTrue($blocked->isComplete());

self::assertFalse($source->pushAsync('x')->isComplete());
$blocked = $source->pushAsync('x');
self::assertFalse($blocked->isComplete());
$blocked->ignore();

if ($bufferSize === 0) {
return;
Expand Down

0 comments on commit 419f1ff

Please sign in to comment.