-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
Returned error messages by Infinispan server aren't fully consistent with Redis:
Not a syntax error:
> SINTERCARD 0 myset (error) ERR syntax error
Missing statement which value is incorrect (numkeys, LIMIT):
> SINTERCARD a myset (error) ERR value is not an integer or out of range > SINTERCARD 1 myset LIMIT b (error) ERR value is not an integer or out of range > SINTERCARD a myset LIMIT b (error) ERR value is not an integer or out of range
Expected error messages can be found at https://github.com/redis/redis/blob/7.2.5/tests/unit/type/set.tcl#L232C6-L248