diff options
author | sergiocarlos <carloschilazo@gmail.com> | 2015-12-08 18:44:24 -0600 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2016-05-28 23:40:12 -0700 |
commit | efb091ba4108c4e5e115fdbaf786e281c05f2a16 (patch) | |
tree | 5b0ca24f257255ade8043a9e46b606fe0daa527d | |
parent | 6895d23e48c6359402066a74c812b3f14be05100 (diff) | |
download | memcached-efb091ba4108c4e5e115fdbaf786e281c05f2a16.tar.gz |
Fix get_expired test to not sleep
-rwxr-xr-x | t/stats.t | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -206,9 +206,8 @@ is(0, $stats->{'reclaimed'}); is(0, $stats->{'lrutail_reflocked'}); # item expired -print $sock "set should_expire 0 1 6\r\nfooval\r\n"; +print $sock "set should_expire 0 2678400 6\r\nfooval\r\n"; #2678400 = 31 days in seconds is(scalar <$sock>, "STORED\r\n", "set item to expire"); -sleep(2); print $sock "get should_expire\r\n"; is(scalar <$sock>, "END\r\n", "item not returned"); my $stats = mem_stats($sock); |