redis/tests
Viktor Söderqvist 17c3ac89e7 RM_ZsetRem: Delete key if empty (#8453)
Without this fix, RM_ZsetRem can leave empty sorted sets which are
not allowed to exist.

Removing from a sorted set while iterating seems to work (while
inserting causes failed assetions). RM_ZsetRangeEndReached is
modified to return 1 if the key doesn't exist, to terminate
iteration when the last element has been removed.

(cherry picked from commit aea6e71ef8)
2021-02-23 01:35:37 +02:00
..
assets Tests: Add aclfile load and save tests (#7765) 2020-09-10 14:09:00 +03:00
cluster fix race in cluster transactions test (#8312) 2021-01-12 16:25:37 +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 Add a --no-latency tests flag. (#7939) 2020-10-27 09:12:01 +02:00
modules RM_ZsetRem: Delete key if empty (#8453) 2021-02-23 01:35:37 +02:00
sentinel Recalculate hardcoded variables from $::instances_count in sentinel tests (#7561) 2020-10-27 09:12:01 +02:00
support prevent client tracking from causing feedback loop in performEvictions (#8100) 2021-01-12 16:25:37 +02:00
tmp
unit RM_ZsetRem: Delete key if empty (#8453) 2021-02-23 01:35:37 +02:00
instances.tcl Allow blocked XREAD on a cluster replica (#7881) 2020-10-27 09:12:01 +02:00
test_helper.tcl Add a --no-latency tests flag. (#7939) 2020-10-27 09:12:01 +02:00