valkey/tests/unit
Nadav Levanoni 136d0fd212
Add 'WithDictIndex' expiry API and update RANDOMKEY command (#1155)
https://github.com/valkey-io/valkey/issues/1145

First part of a two-step effort to add `WithSlot` API for expiry. This
PR is to fix a crash that occurs when a RANDOMKEY uses a different slot
than the cached slot of a client during a multi-exec.

The next part will be to utilize the new API as an optimization to
prevent duplicate work when calculating the slot for a key.

---------

Signed-off-by: Nadav Levanoni <nadavl@amazon.com>
Signed-off-by: Madelyn Olson <madelyneolson@gmail.com>
Co-authored-by: Nadav Levanoni <nadavl@amazon.com>
Co-authored-by: Madelyn Olson <madelyneolson@gmail.com>
2024-10-16 17:40:11 -07:00
..
cluster Avoid timing issue in diskless-load-swapdb test (#1077) 2024-10-01 13:14:30 -07:00
moduleapi Fix empty response for ACL CAT category subcommand for module defined categories (#1140) 2024-10-09 21:20:47 -07:00
type Fix set expire test due to the new lazyfree configs changes (#980) 2024-09-02 22:43:09 +08:00
acl-v2.tcl Minor cleanups in acl-v2 tests (#1166) 2024-10-15 10:30:03 +08:00
acl.tcl Remove 'Redis' in error replies (#206) 2024-04-16 21:17:38 +02:00
aofrw.tcl Speed up AOF rewrite test case (#1093) 2024-09-30 19:55:23 +02:00
auth.tcl Dual channel replication (#60) 2024-07-17 13:59:33 -07:00
bitfield.tcl Remove trademarked language in code comments (#223) 2024-04-09 10:24:03 +02:00
bitops.tcl Change BITCOUNT 'end' as optional like BITPOS (#118) 2024-05-28 15:01:28 -04:00
client-eviction.tcl Async IO threads (#758) 2024-07-08 20:01:39 -07:00
dump.tcl Async IO threads (#758) 2024-07-08 20:01:39 -07:00
expire.tcl Change all the lazyfree configurations to yes by default (#913) 2024-09-02 07:07:17 -07:00
functions.tcl Fix FUNCTION KILL error message being displayed as SCRIPT KILL (#1171) 2024-10-15 23:32:42 +08:00
geo.tcl Rename redis to valkey in test suite logs and test names. (#366) 2024-04-25 15:13:21 +08:00
hyperloglog.tcl redisbenchmark to valkeybenchmark in test directory and some test name rename. (#347) 2024-04-23 10:51:53 -07:00
info-command.tcl Move printver test to info-command file (#1056) 2024-09-20 10:18:19 +08:00
info.tcl Decline unsubscribe related command in non-subscribed mode (#759) 2024-08-22 11:21:33 -04:00
introspection-2.tcl Rename redis to valkey in test suite logs and test names. (#366) 2024-04-25 15:13:21 +08:00
introspection.tcl Add io-threads-do-reads config to deprecated config table to have no effect. (#1138) 2024-10-10 17:46:09 +02:00
keyspace.tcl Apply CVE patches for CVE-2024-31449, CVE-2024-31227, CVE-2024-31228 (#1115) 2024-10-02 19:22:09 -04:00
latency-monitor.tcl Change all the lazyfree configurations to yes by default (#913) 2024-09-02 07:07:17 -07:00
lazyfree.tcl
limits.tcl rename procedure redis_deferring_client to valkey_deferring_client (#270) 2024-04-09 10:38:09 -04:00
maxmemory.tcl Change all the lazyfree configurations to yes by default (#913) 2024-09-02 07:07:17 -07:00
memefficiency.tcl Change all the lazyfree configurations to yes by default (#913) 2024-09-02 07:07:17 -07:00
multi.tcl Add 'WithDictIndex' expiry API and update RANDOMKEY command (#1155) 2024-10-16 17:40:11 -07:00
networking.tcl Improve multithreaded performance with memory prefetching (#861) 2024-08-26 21:10:44 -07:00
obuf-limits.tcl rename procedure redis_deferring_client to valkey_deferring_client (#270) 2024-04-09 10:38:09 -04:00
oom-score-adj.tcl Check user's oom_score_adj write permission for oom-score-adj test (#13111) 2024-03-05 14:42:28 +02:00
other.tcl Add support for setting the group on a unix domain socket (#901) 2024-08-23 11:52:08 -07:00
pause.tcl More rebranding (#606) 2024-06-07 01:40:55 +02:00
protocol.tcl Rename redis to valkey in test suite logs and test names. (#366) 2024-04-25 15:13:21 +08:00
pubsub.tcl Decline unsubscribe related command in non-subscribed mode (#759) 2024-08-22 11:21:33 -04:00
pubsubshard.tcl Decline unsubscribe related command in non-subscribed mode (#759) 2024-08-22 11:21:33 -04:00
querybuf.tcl Async IO threads (#758) 2024-07-08 20:01:39 -07:00
quit.tcl
replybufsize.tcl Rename redis_client* procedure to valkey_client* in test environment (#276) 2024-04-10 10:18:47 -04:00
scan.tcl Finish postponed SCAN changes (#501) 2024-05-17 13:35:31 +02:00
scripting.tcl Fix aof race in shutdown nosave timedout script test (#1156) 2024-10-13 22:06:28 +08:00
shutdown.tcl rename procedure redis_deferring_client to valkey_deferring_client (#270) 2024-04-09 10:38:09 -04:00
slowlog.tcl Correctly recode client infomation to the slowlog when runing script (#805) 2024-08-10 23:46:56 +08:00
sort.tcl Remove trademarked language in code comments (#223) 2024-04-09 10:24:03 +02:00
tls.tcl Replace "redis" with "valkey" test code (#287) 2024-04-18 15:57:17 +02:00
tracking.tcl Rename redis_client* procedure to valkey_client* in test environment (#276) 2024-04-10 10:18:47 -04:00
violations.tcl
wait.tcl Fix the wrong woff when execute WAIT / WAITAOF in script (#776) 2024-07-22 10:33:10 +02:00