Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e839d24 commit 5ee3c84Copy full SHA for 5ee3c84
tests/TestRedis.php
@@ -1626,8 +1626,15 @@ public function testinfo() {
1626
foreach($keys as $k) {
1627
$this->assertTrue(in_array($k, array_keys($info)));
1628
}
1629
+ }
1630
+
1631
+ public function testInfoCommandStats() {
1632
1633
+ // INFO COMMANDSTATS is new in 2.6.0
1634
+ if (version_compare($this->version, "2.5.0", "lt")) {
1635
+ return;
1636
1637
- // INFO COMMANDSTATS
1638
$info = $this->redis->info("COMMANDSTATS");
1639
1640
$this->assertTrue(is_array($info));
0 commit comments