redict/tests
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
..
assets ACL channels permission handling for save/load scenario. (#8794) 2021-04-19 13:27:44 +03:00
cluster Revert cluster slot migration tests. (#8806) 2021-04-18 20:51:08 +03:00
helpers stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00
integration stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00
modules Modules: adding a module type for key space notification (#8759) 2021-04-19 21:33:26 +03:00
sentinel Solve sentinel test issue in TLS due to recent tests change. (#8728) 2021-04-01 09:44:44 +03:00
support stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit stabilize tests that involved with load handlers (#8967) 2021-05-20 15:29:43 +03:00
instances.tcl Solve sentinel test issue in TLS due to recent tests change. (#8728) 2021-04-01 09:44:44 +03:00
test_helper.tcl Make port, tls-port and bind configurations modifiable (#8510) 2021-03-01 16:04:44 +02:00