mirror of
https://github.com/predis/predis.git
synced 2026-08-19 00:02:20 +00:00
Added timeout for test
This commit is contained in:
@@ -110,6 +110,9 @@ class TSINFO_Test extends PredisCommandTestCase
|
||||
$redis->tscreate('temperature:2:32', $arguments)
|
||||
);
|
||||
|
||||
# Timeout so key will be created.
|
||||
$this->sleep(0.1);
|
||||
|
||||
$this->assertEquals($expectedResponse, $redis->tsinfo('temperature:2:32'));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user