Is your feature request related to a problem? Please describe.
I'd like to do integration (or even end to end) testing in an application that uses keydb. But to do that I need to test certain keys before and after their TTL goes to 0, but of course I can't have a test wait an hour for a particular key with a one hour TTL to expire.
Describe the solution you'd like
It would help to have a command to simulate skipping the time ahead, something like TIME -3600 to atomically decrease all TTLs by an hour. I'm currently using unit testing but this feature would allow me to do integration testing to really ensure application robustness
Is your feature request related to a problem? Please describe. I'd like to do integration (or even end to end) testing in an application that uses keydb. But to do that I need to test certain keys before and after their TTL goes to 0, but of course I can't have a test wait an hour for a particular key with a one hour TTL to expire.
Describe the solution you'd like It would help to have a command to simulate skipping the time ahead, something like
TIME -3600
to atomically decrease all TTLs by an hour. I'm currently using unit testing but this feature would allow me to do integration testing to really ensure application robustness