mirror of
https://github.com/predis/predis.git
synced 2026-08-30 12:15:03 +00:00
Revert "[tests] Try fixing random failures in one test of PUB/SUB abstraction."
Whoops, wrong test :)
This reverts commit 5c2b31c566.
This commit is contained in:
@@ -366,14 +366,10 @@ class ConsumerTest extends PredisTestCase
|
||||
$pubsub = new PubSubConsumer($consumer);
|
||||
$pubsub->subscribe('channel:foo');
|
||||
|
||||
usleep(250000);
|
||||
|
||||
$producer->publish('channel:foo', 'message1');
|
||||
$producer->publish('channel:foo', 'message2');
|
||||
$producer->publish('channel:foo', 'QUIT');
|
||||
|
||||
usleep(250000);
|
||||
|
||||
foreach ($pubsub as $message) {
|
||||
if ($message->kind !== 'message') {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user