redict/tests
Oran Agra 905e28ee87 fix redis 6.0 not freeing closed connections during loading.
This bug was introduced by a recent change in which readQueryFromClient
is using freeClientAsync, and despite the fact that now
freeClientsInAsyncFreeQueue is in beforeSleep, that's not enough since
it's not called during loading in processEventsWhileBlocked.
furthermore, afterSleep was called in that case but beforeSleep wasn't.

This bug also caused slowness sine the level-triggered mode of epoll
kept signaling these connections as readable causing us to keep doing
connRead again and again for ll of these, which keep accumulating.

now both before and after sleep are called, but not all of their actions
are performed during loading, some are only reserved for the main loop.

fixes issue #7215
2020-05-11 11:33:46 +03:00
..
assets Fix test "server is up" detection after logging changes. 2016-12-19 16:49:58 +01:00
cluster add tcl test for cluster slots 2020-04-21 16:56:10 +08:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration fix redis 6.0 not freeing closed connections during loading. 2020-05-11 11:33:46 +03:00
modules Fix memory corruption in moduleHandleBlockedClients 2020-04-01 12:53:26 +03:00
sentinel TLS: Configuration options. 2019-10-07 21:07:27 +03:00
support diffrent fix for runtest --host --port 2020-04-06 09:41:14 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Support setcpuaffinity on linux/bsd 2020-05-02 21:19:47 +08:00
instances.tcl TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
test_helper.tcl Test: --dont-clean should do first cleanup. 2020-05-05 13:18:53 +02:00