Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit954fbab

Browse files
committed
Use newInstance in RedisClusterTest
1 parent2f276dc commit954fbab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎tests/RedisClusterTest.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ public function testSlotCache() {
723723

724724
$pong =0;
725725
for ($i =0;$i <10;$i++) {
726-
$obj_rc =newRedisCluster(NULL,self::$_arr_node_map,30,30,true,$this->getAuth());
726+
$obj_rc =$this->newInstance();
727727
$pong +=$obj_rc->ping("key:$i");
728728
}
729729

@@ -739,7 +739,7 @@ public function testConnectionPool() {
739739

740740
$pong =0;
741741
for ($i =0;$i <10;$i++) {
742-
$obj_rc =newRedisCluster(NULL,self::$_arr_node_map,30,30,true,$this->getAuth());
742+
$obj_rc =$this->newInstance();
743743
$pong +=$obj_rc->ping("key:$i");
744744
}
745745

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp