redict/tests
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
..
assets Sanitize dump payload: ziplist, listpack, zipmap, intset, stream 2020-12-06 14:54:34 +02:00
cluster Cleanup in redis-cli and tests: release memory on exit, change dup test name (#8475) 2021-02-09 12:36:09 +02:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration Adds INFO fields to track fork child progress (#8414) 2021-02-16 16:06:51 +02:00
modules Escape unsafe field name characters in INFO. (#8492) 2021-02-15 17:08:53 +02:00
sentinel Fix errors with sentinel leaked fds test. (#8482) 2021-02-11 15:25:01 +02:00
support Client tracking tracking-redir-broken push len is 2 not 3 (#8456) 2021-02-21 09:34:46 +02:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit Client tracking tracking-redir-broken push len is 2 not 3 (#8456) 2021-02-21 09:34:46 +02:00
instances.tcl Fix and cleanup Sentinel leaked fds test. (#8469) 2021-02-08 17:02:46 +02:00
test_helper.tcl Add --dump-logs tests option. (#8459) 2021-02-07 12:37:24 +02:00