redict/tests/unit/moduleapi
Guy Benoish 1b0d30aeb7 Try to fix time-sensitive tests in blockonkey.tcl
There is an inherent race between the deferring client and the
"main" client of the test: While the deferring client issues a blocking
command, we can't know for sure that by the time the "main" client
tries to issue another command (Usually one that unblocks the deferring
client) the deferring client is even blocked...
For lack of a better choice this commit uses TCL's 'after' in order
to give some time for the deferring client to issues its blocking
command before the "main" client does its thing.
This problem probably exists in many other tests but this commit
tries to fix blockonkeys.tcl
2020-04-03 14:51:45 +03:00
..
auth.tcl Add module APIs for custom authentication 2019-12-17 06:59:59 +00:00
blockonkeys.tcl Try to fix time-sensitive tests in blockonkey.tcl 2020-04-03 14:51:45 +03:00
commandfilter.tcl Add runtest-moduleapi with commandfilter coverage. 2019-03-24 12:03:03 +02:00
datatype.tcl Improve RM_ModuleTypeReplaceValue() API. 2019-12-12 18:50:11 +02:00
fork.tcl fix race in module api test for fork 2020-02-23 16:48:37 +02:00
hooks.tcl try to fix an unstable test (module hook for loading progress) 2019-11-19 15:01:51 +02:00
infotest.tcl Add RM_ServerInfoGetFieldUnsigned 2019-11-04 08:50:29 +02:00
misc.tcl Merge branch 'unstable' into module-long-double 2019-11-19 12:15:45 +01:00
propagate.tcl Modules: Test MULTI/EXEC replication of RM_Replicate 2020-03-31 13:55:51 +03:00
scan.tcl Add RM_ScanKey to scan hash, set, zset, changes to RM_Scan API 2019-11-11 16:05:55 +02:00
testrdb.tcl Make module tests pass with valgrind, and fix a leak in diskless load 2019-10-24 09:45:25 +03:00