diff options
author | Oran Agra <oran@redislabs.com> | 2020-02-25 13:01:52 +0200 |
---|---|---|
committer | Oran Agra <oran@redislabs.com> | 2020-02-25 17:53:23 +0200 |
commit | 537893420bc5a51ece060b53e5492b101bcfaba3 (patch) | |
tree | 886b0684c7aaff364dd8c415f017d871b8b4d618 /tests | |
parent | 319a6831a912bab2e76590bbcac802e3a23188b1 (diff) | |
download | redis-537893420bc5a51ece060b53e5492b101bcfaba3.tar.gz |
fix github actions failing latency test for active defrag
seems that github actions are slow, using just one client to reduce
false positives.
also adding verbose, testing only on latest ubuntu, and building on
older one.
when doing that, i can reduce the test threshold back to something saner
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/memefficiency.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/unit/memefficiency.tcl b/tests/unit/memefficiency.tcl index 468825a47..c899103fd 100644 --- a/tests/unit/memefficiency.tcl +++ b/tests/unit/memefficiency.tcl @@ -100,7 +100,7 @@ start_server {tags {"defrag"}} { assert {$frag < 1.1} # due to high fragmentation, 100hz, and active-defrag-cycle-max set to 75, # we expect max latency to be not much higher than 7.5ms but due to rare slowness threshold is set higher - assert {$max_latency <= 60} + assert {$max_latency <= 30} } else { set _ "" } @@ -226,7 +226,7 @@ start_server {tags {"defrag"}} { assert {$frag < 1.1} # due to high fragmentation, 100hz, and active-defrag-cycle-max set to 75, # we expect max latency to be not much higher than 7.5ms but due to rare slowness threshold is set higher - assert {$max_latency <= 60} + assert {$max_latency <= 30} } # verify the data isn't corrupted or changed set newdigest [r debug digest] @@ -317,7 +317,7 @@ start_server {tags {"defrag"}} { assert {$frag < 1.1} # due to high fragmentation, 100hz, and active-defrag-cycle-max set to 75, # we expect max latency to be not much higher than 7.5ms but due to rare slowness threshold is set higher - assert {$max_latency <= 60} + assert {$max_latency <= 30} } # verify the data isn't corrupted or changed set newdigest [r debug digest] |