redict/tests/unit
Huang Zw f687ac0c32
Client tracking tracking-redir-broken push len is 2 not 3 (#8456)
When redis responds with tracking-redir-broken push message (RESP3),
it was responding with a broken protocol: an array of 3 elements, but only
pushes 2 elements.

Some bugs in the test make this pass. Read the push reply
will consume an extra reply, because the reply length is 3, but there
are only two elements, so the next reply will be treated as third
element. So the test is corrected too.

Other changes:
* checkPrefixCollisionsOrReply success should return 1 instead of -1,
  this bug didn't have any implications.
* improve client tracking tests to validate more of the response it reads.
2021-02-21 09:34:46 +02:00
..
moduleapi Escape unsafe field name characters in INFO. (#8492) 2021-02-15 17:08:53 +02:00
type RAND* commands: fix risk of OOM panic in hash and zset, use fair random in hash, and add tests for even distribution to all (#8429) 2021-02-05 15:56:20 +02:00
acl.tcl Fix ACL Pub/Sub test timings (#8122) 2020-12-02 17:24:27 +02:00
aofrw.tcl AOF: run tests with preamble off when it makes sense. 2018-03-25 13:03:38 +02:00
auth.tcl Handle binary safe string for REQUIREPASS and MASTERAUTH directives (#8200) 2020-12-17 09:26:33 -08:00
bitfield.tcl Fix BITFIELD_RO test. 2020-03-23 12:02:12 +01:00
bitops.tcl Regression test for #3282. 2016-06-15 11:49:49 +02:00
dump.tcl Fix recent test failures (#8386) 2021-01-23 21:53:58 +02:00
expire.tcl EXPIRE, EXPIREAT, SETEX, GETEX: Return error when expire time overflows (#8287) 2021-02-21 09:09:54 +02:00
geo.tcl Fix GEOSEARCH tcl test error (#8451) 2021-02-04 19:39:07 +02:00
hyperloglog.tcl Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
info.tcl Escape unsafe field name characters in INFO. (#8492) 2021-02-15 17:08:53 +02:00
introspection-2.tcl EXISTS should not alter LRU, OBJECT should not reveal expired keys on replica (#8016) 2020-11-18 11:16:21 +02:00
introspection.tcl Add 'set-proc-title' config so that this mechanism can be disabled (#3623) 2021-01-28 11:12:39 +02:00
keyspace.tcl Improve dbid range check for SELECT, MOVE, COPY (#8085) 2020-12-01 21:41:26 +02:00
latency-monitor.tcl Add a --no-latency tests flag. (#7939) 2020-10-22 11:10:53 +03:00
lazyfree.tcl Test: basic lazyfree unit test. 2015-10-09 09:47:17 +02:00
limits.tcl Add io-thread daily CI tests. (#8232) 2021-01-17 15:48:48 +02:00
maxmemory.tcl Improve stability of new CSC eviction test (#8160) 2020-12-08 16:33:09 +02:00
memefficiency.tcl Skip defrag tests on systems with bigger page sizes (#8294) 2021-01-08 10:03:21 +02:00
multi.tcl Swapdb should make transaction fail if there is any client watching keys (#8239) 2021-01-04 14:48:28 +02:00
obuf-limits.tcl Fix new obuf-limits tests to work with TLS (#7848) 2020-09-27 17:13:33 +03:00
oom-score-adj.tcl Fix timing error oom-score-adj test (#8513) 2021-02-19 13:01:25 +02:00
other.tcl minor test suite cleanup, revive old test (#8497) 2021-02-15 17:20:03 +02:00
pause.tcl Add io-thread daily CI tests. (#8232) 2021-01-17 15:48:48 +02:00
pendingquerybuf.tcl Slave removal: remove slave from top-level tests descriptions. 2018-09-11 15:32:28 +02: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 Add io-thread daily CI tests. (#8232) 2021-01-17 15:48:48 +02:00
quit.tcl Add tests for OK on QUIT 2010-10-15 12:54:53 +02:00
scan.tcl Add io-thread daily CI tests. (#8232) 2021-01-17 15:48:48 +02:00
scripting.tcl minor test suite cleanup, revive old test (#8497) 2021-02-15 17:20:03 +02:00
shutdown.tcl Fix new obuf-limits tests to work with TLS (#7848) 2020-09-27 17:13:33 +03:00
slowlog.tcl Rewritten commands are logged as their original command (#8006) 2020-11-10 13:50:03 -08:00
sort.tcl Config: Add quicklist, remove old list options 2015-01-02 11:16:10 -05:00
tls.tcl TLS: Add different client cert support. (#8076) 2020-12-11 18:31:40 +02:00
tracking.tcl Client tracking tracking-redir-broken push len is 2 not 3 (#8456) 2021-02-21 09:34:46 +02:00
wait.tcl Add io-thread daily CI tests. (#8232) 2021-01-17 15:48:48 +02:00