redict/tests/unit
Ning Sun f74af0e61d
Add NX/XX/GT/LT options to EXPIRE command group (#2795)
Add NX, XX, GT, and LT flags to EXPIRE, PEXPIRE, EXPIREAT, PEXAPIREAT.
- NX - only modify the TTL if no TTL is currently set 
- XX - only modify the TTL if there is a TTL currently set 
- GT - only increase the TTL (considering non-volatile keys as infinite expire time)
- LT - only decrease the TTL (considering non-volatile keys as infinite expire time)
return value of the command is 0 when the operation was skipped due to one of these flags.

Signed-off-by: Ning Sun <sunng@protonmail.com>
2021-08-02 08:57:49 +03:00
..
moduleapi Remove const from CommandFilterArgGet result (#9247) 2021-08-01 11:29:32 +03:00
type SMOVE only notify dstset when the addition is successful. (#9244) 2021-07-17 09:54:06 +03:00
acl.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
aofrw.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
auth.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
bitfield.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
bitops.tcl On 32 bit platform, the bit position of GETBIT/SETBIT/BITFIELD/BITCOUNT,BITPOS may overflow (see CVE-2021-32761) (#9191) 2021-07-21 16:25:19 +03:00
dump.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
expire.tcl Add NX/XX/GT/LT options to EXPIRE command group (#2795) 2021-08-02 08:57:49 +03:00
geo.tcl GEO* STORE with empty src key delete the dest key and return 0, not empty array (#9271) 2021-08-01 19:32:24 +03:00
hyperloglog.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
info.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
introspection-2.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
introspection.tcl Remove leftover after CONFIG SET bind change. (#9129) 2021-06-22 14:03:00 +03:00
keyspace.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
latency-monitor.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
lazyfree.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
limits.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
maxmemory.tcl Fix the wrong reisze of querybuf (#9003) 2021-06-15 14:46:19 +03:00
memefficiency.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
multi.tcl Fail EXEC command in case a watched key is expired (#9194) 2021-07-11 13:17:23 +03:00
networking.tcl Pre-test bind-source-addr before running test. (#9214) 2021-07-11 09:54:07 +03:00
obuf-limits.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
oom-score-adj.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
other.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
pause.tcl Add missing pause tcl test to test_helper.tcl (#9158) 2021-06-30 13:32:51 +03:00
pendingquerybuf.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
printver.tcl Print version info before running the test 2011-05-20 11:44:54 +02:00
protocol.tcl Test infra, handle RESP3 attributes and big-numbers and bools (#9235) 2021-07-14 19:14:31 +03:00
pubsub.tcl Fix if consumer is created as a side effect without notify and dirty++ (#9263) 2021-08-02 08:31:33 +03:00
querybuf.tcl Fix querybuf test failure (#9091) 2021-06-16 22:01:37 +03:00
quit.tcl Add tests for OK on QUIT 2010-10-15 12:54:53 +02:00
scan.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
scripting.tcl Fixed some typos, add a spell check ci and others minor fix (#8890) 2021-06-10 15:39:33 +03:00
shutdown.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
slowlog.tcl slowlog get command supports passing in -1 to get all logs. (#9018) 2021-06-14 16:46:45 +03:00
sort.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00
tls.tcl Add support for reading encrypted keyfiles. (#8644) 2021-03-22 13:27:46 +02:00
tracking.tcl Fix race in client side tracking (#9116) 2021-06-22 07:35:59 +03:00
wait.tcl Improve test suite to handle external servers better. (#9033) 2021-06-09 15:13:24 +03:00