Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo authored and huangzhhui committed Aug 31, 2018
1 parent 19a4051 commit 7438906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redis/test/Cases/PoolTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function testRedisTimeout()
$redis->exists('not_connected');
} catch (\Exception $ex) {
$this->assertInstanceOf(\RedisException::class, $ex);
$this->assertEquals('Operation timed out', $ex->getMessage());
$this->assertTrue(strpos($ex->getMessage(), 'timed out') > 0);
}


Expand Down

0 comments on commit 7438906

Please sign in to comment.