redict/tests/unit
Yossi Gottlieb aa139e2f02
Fix CLIENT UNBLOCK crashing modules. (#9167)
Modules that use background threads with thread safe contexts are likely
to use RM_BlockClient() without a timeout function, because they do not
set up a timeout.

Before this commit, `CLIENT UNBLOCK` would result with a crash as the
`NULL` timeout callback is called. Beyond just crashing, this is also
logically wrong as it may throw the module into an unexpected client
state.

This commits makes `CLIENT UNBLOCK` on such clients behave the same as
any other client that is not in a blocked state and therefore cannot be
unblocked.
2021-07-01 17:11:27 +03:00
..
moduleapi Fix CLIENT UNBLOCK crashing modules. (#9167) 2021-07-01 17:11:27 +03:00
type fix ZRANGESTORE - should return 0 when src points to an empty key (#9089) 2021-06-29 16:38:10 +03:00
acl.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
aofrw.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
auth.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
bitfield.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
bitops.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
dump.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
expire.tcl Add missing needs:repl tag. (#9169) 2021-06-29 16:48:52 +03:00
geo.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
hyperloglog.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
info.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
introspection-2.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
introspection.tcl Remove leftover after CONFIG SET bind change. (#9129) 2021-06-22 14:03:00 +03:00
keyspace.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
latency-monitor.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
lazyfree.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
limits.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
maxmemory.tcl Fix the wrong reisze of querybuf (#9003) 2021-06-15 14:46:19 +03:00
memefficiency.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
multi.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
networking.tcl Add bind-source-addr configuration argument. (#9142) 2021-06-24 19:48:18 +03:00
obuf-limits.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
oom-score-adj.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
other.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
pause.tcl Add missing pause tcl test to test_helper.tcl (#9158) 2021-06-30 13:32:51 +03:00
pendingquerybuf.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
printver.tcl Print version info before running the test 2011-05-20 11:44:54 +02:00
protocol.tcl Add io-thread daily CI tests. (#8232) 2021-01-17 15:48:48 +02:00
pubsub.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
querybuf.tcl Fix querybuf test failure (#9091) 2021-06-16 22:01:37 +03:00
quit.tcl Add tests for OK on QUIT 2010-10-15 12:54:53 +02:00
scan.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
scripting.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
shutdown.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
slowlog.tcl slowlog get command supports passing in -1 to get all logs. (#9018) 2021-06-14 16:46:45 +03:00
sort.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
tls.tcl Add support for reading encrypted keyfiles. (#8644) 2021-03-22 13:27:46 +02:00
tracking.tcl Fix race in client side tracking (#9116) 2021-06-22 07:35:59 +03:00
wait.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00