@@ -27,38 +27,39 @@ class Redis_Cluster_Test extends Redis_Test {
2727 * RedisCluster class doesn't implement specialized (non-redis) commands
2828 * such as sortAsc, or sortDesc and other commands such as SELECT are
2929 * simply invalid in Redis Cluster */
30- public function testSortAsc () {return $ this ->markTestSkipped (); }
31- public function testSortDesc () {return $ this ->markTestSkipped (); }
32- public function testWait () {return $ this ->markTestSkipped (); }
33- public function testSelect () {return $ this ->markTestSkipped (); }
34- public function testReconnectSelect () {return $ this ->markTestSkipped (); }
35- public function testMultipleConnect () {return $ this ->markTestSkipped (); }
36- public function testDoublePipeNoOp () {return $ this ->markTestSkipped (); }
37- public function testSwapDB () {return $ this ->markTestSkipped (); }
38- public function testConnectException () {return $ this ->markTestSkipped (); }
39- public function testTlsConnect () {return $ this ->markTestSkipped (); }
40- public function testReset () {return $ this ->markTestSkipped (); }
41- public function testInvalidAuthArgs () {return $ this ->markTestSkipped (); }
42- public function testScanErrors () {return $ this ->markTestSkipped (); }
30+ public function testPipelinePublish () {$ this ->markTestSkipped (); }
31+ public function testSortAsc () {$ this ->markTestSkipped (); }
32+ public function testSortDesc () {$ this ->markTestSkipped (); }
33+ public function testWait () {$ this ->markTestSkipped (); }
34+ public function testSelect () {$ this ->markTestSkipped (); }
35+ public function testReconnectSelect () {$ this ->markTestSkipped (); }
36+ public function testMultipleConnect () {$ this ->markTestSkipped (); }
37+ public function testDoublePipeNoOp () {$ this ->markTestSkipped (); }
38+ public function testSwapDB () {$ this ->markTestSkipped (); }
39+ public function testConnectException () {$ this ->markTestSkipped (); }
40+ public function testTlsConnect () {$ this ->markTestSkipped (); }
41+ public function testReset () {$ this ->markTestSkipped (); }
42+ public function testInvalidAuthArgs () {$ this ->markTestSkipped (); }
43+ public function testScanErrors () {$ this ->markTestSkipped (); }
4344
4445/* These 'directed node' commands work differently in RedisCluster */
45- public function testConfig () {return $ this ->markTestSkipped (); }
46- public function testFlushDB () {return $ this ->markTestSkipped (); }
47- public function testFunction () {return $ this ->markTestSkipped (); }
46+ public function testConfig () {$ this ->markTestSkipped (); }
47+ public function testFlushDB () {$ this ->markTestSkipped (); }
48+ public function testFunction () {$ this ->markTestSkipped (); }
4849
4950/* Session locking feature is currently not supported in in context of Redis Cluster.
5051 The biggest issue for this is the distribution nature of Redis cluster */
51- public function testSession_lockKeyCorrect () {return $ this ->markTestSkipped (); }
52- public function testSession_lockingDisabledByDefault () {return $ this ->markTestSkipped (); }
53- public function testSession_lockReleasedOnClose () {return $ this ->markTestSkipped (); }
54- public function testSession_ttlMaxExecutionTime () {return $ this ->markTestSkipped (); }
55- public function testSession_ttlLockExpire () {return $ this ->markTestSkipped (); }
56- public function testSession_lockHoldCheckBeforeWrite_otherProcessHasLock () {return $ this ->markTestSkipped (); }
57- public function testSession_lockHoldCheckBeforeWrite_nobodyHasLock () {return $ this ->markTestSkipped (); }
58- public function testSession_correctLockRetryCount () {return $ this ->markTestSkipped (); }
59- public function testSession_defaultLockRetryCount () {return $ this ->markTestSkipped (); }
60- public function testSession_noUnlockOfOtherProcess () {return $ this ->markTestSkipped (); }
61- public function testSession_lockWaitTime () {return $ this ->markTestSkipped (); }
52+ public function testSession_lockKeyCorrect () {$ this ->markTestSkipped (); }
53+ public function testSession_lockingDisabledByDefault () {$ this ->markTestSkipped (); }
54+ public function testSession_lockReleasedOnClose () {$ this ->markTestSkipped (); }
55+ public function testSession_ttlMaxExecutionTime () {$ this ->markTestSkipped (); }
56+ public function testSession_ttlLockExpire () {$ this ->markTestSkipped (); }
57+ public function testSession_lockHoldCheckBeforeWrite_otherProcessHasLock () {$ this ->markTestSkipped (); }
58+ public function testSession_lockHoldCheckBeforeWrite_nobodyHasLock () {$ this ->markTestSkipped (); }
59+ public function testSession_correctLockRetryCount () {$ this ->markTestSkipped (); }
60+ public function testSession_defaultLockRetryCount () {$ this ->markTestSkipped (); }
61+ public function testSession_noUnlockOfOtherProcess () {$ this ->markTestSkipped (); }
62+ public function testSession_lockWaitTime () {$ this ->markTestSkipped (); }
6263
6364/* Load our seeds on construction */
6465public function __construct ($ str_host ,$ i_port ,$ str_auth ) {
@@ -692,7 +693,7 @@ public function testReplyLiteral() {
692693 the command to a specific node. */
693694public function testAcl () {
694695if ( !$ this ->minVersionCheck ("6.0 " ))
695- return $ this ->markTestSkipped ();
696+ $ this ->markTestSkipped ();
696697
697698$ this ->assertInArray ('default ' ,$ this ->redis ->acl ('foo ' ,'USERS ' ));
698699 }
@@ -702,9 +703,9 @@ public function testSession()
702703 @ini_set ('session.save_handler ' ,'rediscluster ' );
703704 @ini_set ('session.save_path ' ,$ this ->sessionSavePath () .'&failover=error ' );
704705
705- if (!@session_start ()) {
706- return $ this ->markTestSkipped ();
707- }
706+ if (!@session_start ())
707+ $ this ->markTestSkipped ();
708+
708709session_write_close ();
709710
710711$ this ->assertKeyExists ($ this ->sessionPrefix () .session_id ());