redict/tests
guybe7 843f769b96
zsetAdd: Fix wrong reply in case of INCR and GT/LT (#8717)
If GT/LT fails the operation we need to reply with
nill (like failure due to NX).

Other changes:
Add the missing $encoding suffix to many zset tests

Note: there's a behavior change just in case of INCR + GT/LT that fails.
The old code was replying with the wrong (rejected) score, and now it'll reply with nil.

Note that that's anyway a corner case so this "behavior change" shouldn't have too much affect.
Using GT/LT with INCR has a predictable result even before we run the command
(INCR GT will only only / always fail if the increment is negative).
2021-04-01 09:33:53 +03:00
..
assets Sanitize dump payload: ziplist, listpack, zipmap, intset, stream 2020-12-06 14:54:34 +02:00
cluster Cluster migration test cleanup. (#8726) 2021-03-30 23:33:01 +03:00
helpers revert an accidental test code change done as part of the tls project 2019-12-01 16:10:09 +02:00
integration solve race conditions in psync2-pingoff test (#8720) 2021-03-30 11:41:06 +03:00
modules Fix some memory leaks in propagagte.c (#8636) 2021-03-11 13:50:13 +02:00
sentinel Add replica-announced config option (#8653) 2021-03-30 23:40:22 +03:00
support Use chi-square for random distributivity verification in test (#8709) 2021-04-01 08:20:15 +03:00
tmp minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00
unit zsetAdd: Fix wrong reply in case of INCR and GT/LT (#8717) 2021-04-01 09:33:53 +03:00
instances.tcl Add support for plaintext clients in TLS cluster (#8587) 2021-03-30 23:11:32 +03:00
test_helper.tcl Make port, tls-port and bind configurations modifiable (#8510) 2021-03-01 16:04:44 +02:00