redict/tests/support
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
..
benchmark.tcl TLS: Add different client cert support. (#8076) 2020-12-11 18:31:40 +02:00
cli.tcl TLS: Add different client cert support. (#8076) 2020-12-11 18:31:40 +02:00
cluster.tcl Implement SMISMEMBER key member [member ...] (#7615) 2020-08-11 11:55:06 +03:00
redis.tcl Client tracking tracking-redir-broken push len is 2 not 3 (#8456) 2021-02-21 09:34:46 +02:00
server.tcl Add --dump-logs tests option. (#8459) 2021-02-07 12:37:24 +02:00
test.tcl Report child copy-on-write info continuously 2021-01-07 16:14:29 +02:00
tmpfile.tcl Initial implementation of a client-server parallel testing system for Redis in order to speedup execution of the test suite. 2011-07-10 23:25:48 +02:00
util.tcl 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