valkey/tests
Oran Agra 57dbd6e90d Fix cluster consistency-check test (#7754)
This test was failing from time to time see discussion at the bottom of #7635
This was probably due to timing, the DEBUG SLEEP executed by redis-cli
didn't sleep for enough time.

This commit changes:
1) use SET-ACTIVE-EXPIRE instead of DEBUG SLEEP
2) reduce many `after` sleeps with retry loops to speed up the test.
3) add many comment explaining the different steps of the test and
   it's purpose.
4) config appendonly before populating the volatile keys, so that they'll
   be part of the AOF command stream rather than the preamble RDB portion.

other complications: recently kill_instance switched from SIGKILL to
SIGTERM, and this would sometimes fail since there was an AOFRW running
in the background. now we wait for it to end before attempting the kill.

(cherry picked from commit b491d477c3)
2020-09-10 14:09:00 +03:00
..
assets
cluster Fix cluster consistency-check test (#7754) 2020-09-10 14:09:00 +03:00
helpers
integration test infra - wait_done_loading 2020-09-10 14:09:00 +03:00
modules see #7544, added RedisModule_HoldString api. (#7577) 2020-09-01 09:27:58 +03:00
sentinel
support Tests: fix unmonitored servers. (#7756) 2020-09-10 14:09:00 +03:00
tmp
unit test infra - reduce disk space usage 2020-09-10 14:09:00 +03:00
instances.tcl fix broken cluster/sentinel tests by recent commit (#7752) 2020-09-10 14:09:00 +03:00
test_helper.tcl test infra - add durable mode to work around test suite crashing 2020-09-10 14:09:00 +03:00