File tree Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Expand file tree Collapse file tree 2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ public function testSortDesc() { return $this->markTestSkipped(); }
32
32
public function testWait () { return $ this ->markTestSkipped (); }
33
33
public function testSelect () { return $ this ->markTestSkipped (); }
34
34
public function testReconnectSelect () { return $ this ->markTestSkipped (); }
35
+ public function testMultipleConnect () { return $ this ->markTestSkipped (); }
35
36
36
37
/* Load our seeds on construction */
37
38
public function __construct () {
Original file line number Diff line number Diff line change @@ -4974,5 +4974,15 @@ public function testSession()
4974
4974
session_write_close ();
4975
4975
$ this ->assertTrue ($ this ->redis ->exists ('PHPREDIS_SESSION: ' . session_id ()));
4976
4976
}
4977
+
4978
+ public function testMultipleConnect () {
4979
+ $ host = $ this ->redis ->GetHost ();
4980
+ $ port = $ this ->redis ->GetPort ();
4981
+
4982
+ for ($ i = 0 ; $ i < 5 ; $ i ++) {
4983
+ $ this ->redis ->connect ($ host , $ port );
4984
+ $ this ->assertEquals ($ this ->redis ->ping (), "+PONG " );
4985
+ }
4986
+ }
4977
4987
}
4978
4988
?>
You can’t perform that action at this time.
0 commit comments