Selaa lähdekoodia

Add a not about MONITOR failing the test with Redis unstable.

Daniele Alessandri 13 vuotta sitten
vanhempi
commit
5c2704c9d4
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      tests/Predis/Commands/ServerMonitorTest.php

+ 3 - 0
tests/Predis/Commands/ServerMonitorTest.php

@@ -64,6 +64,9 @@ class ServerMonitorTest extends CommandTestCase
         $command = $this->getCommand();
 
         $this->assertTrue($connection->executeCommand($command));
+        // TODO: this test currently fails with the unstable branch of Redis, but
+        //       I still have to find the reason since at first sight the reply
+        //       format has not changed.
         $this->assertRegExp('/\d+.\d+(\s?\(db \d+\))? "MONITOR"/', $connection->read());
     }
 }