@@ -537,7 +537,7 @@ public function testrPop()
537
537
538
538
public function testblockingPop () {
539
539
540
- /* non blocking blPop, brPop */
540
+ // non blocking blPop, brPop
541
541
$ this ->redis ->delete ('list ' );
542
542
$ this ->redis ->lPush ('list ' , 'val1 ' );
543
543
$ this ->redis ->lPush ('list ' , 'val2 ' );
@@ -550,7 +550,7 @@ public function testblockingPop() {
550
550
$ this ->assertTrue ($ this ->redis ->brPop (array ('list ' ), 2 ) === array ('list ' , 'val1 ' ));
551
551
$ this ->assertTrue ($ this ->redis ->brPop (array ('list ' ), 2 ) === array ('list ' , 'val2 ' ));
552
552
553
- /* blocking blpop, brpop */
553
+ // blocking blpop, brpop
554
554
$ this ->redis ->delete ('list ' );
555
555
$ this ->assertTrue ($ this ->redis ->blPop (array ('list ' ), 2 ) === array ());
556
556
$ this ->assertTrue ($ this ->redis ->brPop (array ('list ' ), 2 ) === array ());
@@ -1905,6 +1905,7 @@ protected function sequence($mode) {
1905
1905
$ this ->assertTrue ($ ret == array ());
1906
1906
1907
1907
// ttl, mget, mset, msetnx, expire, expireAt
1908
+ $ this ->redis ->delete ('key ' );
1908
1909
$ ret = $ this ->redis ->multi ($ mode )
1909
1910
->ttl ('key ' )
1910
1911
->mget (array ('key1 ' , 'key2 ' , 'key3 ' ))
0 commit comments