Closed th0br0 closed 10 years ago
Thanks :+1: Do you have few minutes to write a test, so the bug does not appear again ?
Sure, I'll do that. You're only testing for effects though and not requests right now, are you?
Yes. I was testing for effect (i think it is called integration test). Because Redis is fast, and the case are simple and limited. In your case, if you want, you can test only the generated byteString request, it will be ok.
If EX was set, SET would discard the NX flag. However,
SET key value NX EX duration
is a valid command.