redict/tests/unit
perryitay 0c10f0e1c0
Fix crashes when list-compress-depth is used. (#9779)
Recently we started using list-compress-depth in tests (was completely untested till now).
Turns this triggered test failures with the external mode, since the tests left the setting enabled
and then it was used in other tests (specifically the fuzzer named "Stress tester for #3343-alike bugs").

This PR fixes the issue of the `recompress` flag being left set by mistake, which caused the code to
later to compress the head or tail nodes (which should never be compressed)

The solution is to reset the recompress flag when it should have been (when it was decided not to compress).

Additionally we're adding some assertions and improve the tests so in order to catch other similar bugs.
2021-11-18 18:09:30 +02:00
..
moduleapi fix short timeout in replication short read tests (#9763) 2021-11-09 22:37:18 +02:00
type Fix crashes when list-compress-depth is used. (#9779) 2021-11-18 18:09:30 +02:00
acl.tcl Treat subcommands as commands (#9504) 2021-10-20 11:52:57 +03:00
aofrw.tcl Replace all usage of ziplist with listpack for t_zset (#9366) 2021-09-09 18:18:53 +03:00
auth.tcl Prevent unauthenticated client from easily consuming lots of memory (CVE-2021-32675) (#9588) 2021-10-04 12:10:31 +03:00
bitfield.tcl
bitops.tcl Change lzf to handle values larger than UINT32_MAX (#9776) 2021-11-16 13:12:25 +02:00
client-eviction.tcl Client eviction ci issues (#9549) 2021-09-26 17:45:02 +03:00
cluster.tcl fix new cluster tests issues (#9657) 2021-10-20 15:40:28 +03:00
dump.tcl
expire.tcl Tune expire test threshold. (#9775) 2021-11-13 07:55:48 +02:00
geo.tcl
hyperloglog.tcl
info.tcl Treat subcommands as commands (#9504) 2021-10-20 11:52:57 +03:00
introspection-2.tcl Fix COMMAND GETKEYS on EVAL without keys (#9733) 2021-11-03 14:38:26 +02:00
introspection.tcl Connection leak in external tests. (#9777) 2021-11-15 11:07:43 +02:00
keyspace.tcl Replace all usage of ziplist with listpack for t_zset (#9366) 2021-09-09 18:18:53 +03:00
latency-monitor.tcl Treat subcommands as commands (#9504) 2021-10-20 11:52:57 +03:00
lazyfree.tcl attempt to fix tracking test issue with external tests due to lazy free (#9722) 2021-11-02 16:42:53 +02:00
limits.tcl
maxmemory.tcl Replication backlog and replicas use one global shared replication buffer (#9166) 2021-10-25 09:24:31 +03:00
memefficiency.tcl fix defrag test looking at the wrong latency metric (#9723) 2021-11-02 15:52:56 +02:00
multi.tcl Reject PING with MASTERDOWN when replica-serve-stale-data=no (#9757) 2021-11-18 10:53:17 +02:00
networking.tcl
obuf-limits.tcl
oom-score-adj.tcl
other.tcl Connection leak in external tests. (#9777) 2021-11-15 11:07:43 +02:00
pause.tcl
pendingquerybuf.tcl
printver.tcl
protocol.tcl Connection leak in external tests. (#9777) 2021-11-15 11:07:43 +02:00
pubsub.tcl Connection leak in external tests. (#9777) 2021-11-15 11:07:43 +02:00
querybuf.tcl
quit.tcl
scan.tcl Replace all usage of ziplist with listpack for t_zset (#9366) 2021-09-09 18:18:53 +03:00
scripting.tcl Connection leak in external tests. (#9777) 2021-11-15 11:07:43 +02:00
shutdown.tcl
slowlog.tcl
sort.tcl
tls.tcl
tracking.tcl Solve issues with tracking test in external mode (#9726) 2021-11-02 16:07:51 -07:00
violations.tcl Fix ziplist and listpack overflows and truncations (CVE-2021-32627, CVE-2021-32628) (#9589) 2021-10-04 12:11:02 +03:00
wait.tcl