mitigate race condition in test

This commit is contained in:
John Sully 2019-02-15 16:55:19 -05:00
parent aed915cebc
commit 05685ed792

View File

@ -82,6 +82,7 @@ start_server {tags {"slowlog"} overrides {slowlog-log-slower-than 1000000}} {
test {SLOWLOG - can be disabled} {
r config set slowlog-log-slower-than 1
r slowlog reset
r debug sleep 0.2
assert_equal [r slowlog len] 1
r config set slowlog-log-slower-than -1
r slowlog reset