valkey/tests
Oran Agra b491d477c3
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.
2020-09-07 18:06:25 +03:00
..
assets
cluster Fix cluster consistency-check test (#7754) 2020-09-07 18:06:25 +03:00
helpers
integration if diskless repl child is killed, make sure to reap the pid (#7742) 2020-09-06 16:43:57 +03:00
modules Module API: fix missing RM_CLIENTINFO_FLAG_SSL. (#7666) 2020-08-17 17:46:54 +03:00
sentinel
support Tests: fix unmonitored servers. (#7756) 2020-09-07 17:30:36 +03:00
tmp
unit if diskless repl child is killed, make sure to reap the pid (#7742) 2020-09-06 16:43:57 +03:00
instances.tcl fix broken cluster/sentinel tests by recent commit (#7752) 2020-09-07 16:26:11 +03:00
test_helper.tcl test infra - add durable mode to work around test suite crashing 2020-09-06 09:59:19 +03:00