redis/tests/unit/moduleapi
Mincho Paskalev 91b5808fd6
Fix numeric config boundry check (#14286)
Revert a breaking change introduced in #14051 described in this comment
https://github.com/redis/redis/pull/14051#discussion_r2281765769

The non-negative check inside `checkNumericBoundaries` was ignoring that
passing a big unsigned long long value (> 2^63-1) will be passed as
negative value and will never reach the lower/upper boundary check.

The check is removed, reverting the breaking change.

This allows for RedisModule_ConfigSetNumeric to pass big unsigned number, albeit via `long long` parameter. Added comments about this behaviour.

Added tests for https://github.com/redis/redis/pull/14051#discussion_r2281765769
2025-10-28 13:40:44 +02:00
..
aclcheck.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
async_rm_call.tcl Remove unnecessary skip:external for module tests (#14354) 2025-09-28 17:09:50 +03:00
auth.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
basics.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
blockedclient.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
blockonbackground.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
blockonkeys.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
cluster.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
cmdintrospection.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
commandfilter.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
configaccess.tcl Fix numeric config boundry check (#14286) 2025-10-28 13:40:44 +02:00
crash.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
datatype.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
datatype2.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
defrag.tcl Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326) 2025-09-10 12:52:20 +08:00
eventloop.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
fork.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
getchannels.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
getkeys.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
hash.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
hooks.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
infotest.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
infra.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
internalsecret.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
keyspace_events.tcl Remove unnecessary skip:external for module tests (#14354) 2025-09-28 17:09:50 +03:00
keyspecs.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
list.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
mallocsize.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
misc.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
moduleauth.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
moduleconfigs.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
postnotifications.tcl Remove unnecessary skip:external for module tests (#14354) 2025-09-28 17:09:50 +03:00
propagate.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
publish.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
rdbloadsave.tcl Introduce DEBUG_DEFRAG compilation option to allow run test with activedefrag when allocator is not jemalloc (#14326) 2025-09-10 12:52:20 +08:00
reply.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
scan.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
stream.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
subcommands.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
test_lazyfree.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
testrdb.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
timer.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
usercall.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00
zset.tcl Run module tests as part of the base redis testsuit (#14226) 2025-08-26 14:49:05 +03:00