redict/tests
Guy Benoish c4dc5b80b2 Fix memory corruption in moduleHandleBlockedClients
By using a "circular BRPOPLPUSH"-like scenario it was
possible the get the same client on db->blocking_keys
twice (See comment in moduleTryServeClientBlockedOnKey)

The fix was actually already implememnted in
moduleTryServeClientBlockedOnKey but it had a bug:
the funxction should return 0 or 1 (not OK or ERR)

Other changes:
1. Added two commands to blockonkeys.c test module (To
   reproduce the case described above)
2. Simplify blockonkeys.c in order to make testing easier
3. cast raxSize() to avoid warning with format spec
2020-04-01 12:53:26 +03:00
..
assets Fix test "server is up" detection after logging changes. 2016-12-19 16:49:58 +01:00
cluster Add 14-consistency-check.tcl to prove there is a data consistency issue. 2020-03-18 16:17:46 +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 PSYNC2: meaningful offset test. 2020-03-25 15:43:34 +01: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 Fix bug of tcl test using external server 2020-03-11 21:01:27 +08:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Fix memory corruption in moduleHandleBlockedClients 2020-04-01 12:53:26 +03:00
instances.tcl TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
test_helper.tcl PSYNC2: meaningful offset test. 2020-03-25 15:43:34 +01:00