redict/tests/integration
YaacovHazan 32a2584e07
stabilize tests that involved with load handlers (#8967)
When test stop 'load handler' by killing the process that generating the load,
some commands that already in the input buffer, still might be processed by the server.
This may cause some instability in tests, that count on that no more commands
processed after we stop the `load handler'

In this commit, new proc 'wait_load_handlers_disconnected' added, to verify that no more
cammands from any 'load handler' prossesed, by checking that the clients who
genreate the load is disconnceted.

Also, replacing check of dbsize with wait_for_ofs_sync before comparing debug digest, as
it would fail in case the last key the workload wrote was an overridden key (not a new one).

Affected tests
Race fix:
- failover command to specific replica works
- Connect multiple replicas at the same time (issue #141), master diskless=$mdl, replica diskless=$sdl
- AOF rewrite during write load: RDB preamble=$rdbpre

Cleanup and speedup:
- Test replication with blocking lists and sorted sets operations
- Test replication with parallel clients writing in different DBs
- Test replication partial resync: $descr (diskless: $mdl, $sdl, reconnect: $reconnect
2021-05-20 15:29:43 +03:00
..
aof-race.tcl TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
aof.tcl Print the number of abnormal line in AOF (#8823) 2021-04-20 21:51:24 +03:00
block-repl.tcl stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00
convert-zipmap-hash-on-load.tcl convert-zipmap-hash-on-load false positive fixed. 2012-03-25 11:02:16 +02:00
corrupt-dump-fuzzer.tcl fuzz tester, try to print hung command (#8837) 2021-04-25 13:08:46 +03:00
corrupt-dump.tcl Corrupt stream key access to uninitialized memory (#8681) 2021-03-24 11:33:49 +02:00
failover.tcl stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00
logging.tcl Fix failed tests on Linux Alpine and add a CI job. (#8532) 2021-02-23 12:57:45 +02:00
psync2-pingoff.tcl solve race conditions in psync2-pingoff test (#8720) 2021-03-30 11:41:06 +03:00
psync2-reg.tcl fix loading race in psync2 tests 2020-04-28 09:18:01 +03:00
psync2.tcl Sanitize dump payload: fuzz tester and fixes for segfaults and leaks it exposed 2020-12-06 14:54:34 +02:00
rdb.tcl fix stream deep sanitization with deleted records (#8568) 2021-03-01 17:23:29 +02:00
redis-benchmark.tcl Add io-thread daily CI tests. (#8232) 2021-01-17 15:48:48 +02:00
redis-cli.tcl Improve redis-cli non-binary safe string handling. (#8566) 2021-03-04 15:03:49 +02:00
replication-2.tcl solve race in replication-2 test - again (#8491) 2021-02-15 12:50:23 +02:00
replication-3.tcl add daily github actions with libc malloc and valgrind 2020-05-04 09:52:20 +03:00
replication-4.tcl stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00
replication-psync.tcl stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00
replication.tcl stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00