0

I run a ton of blackbox tests that have code that look something like this:

Do something
Wait 30 seconds or so for something to expire from the cache
Do something else
Etc...

Since the tests are all self contained in their own universe, I would like some way to speed up the time on those system. Think of it like "Narnia Time". That is to say, a "sleep 30 seconds" on this VM might execute in 10 seconds in the real world. So if I'm a program on the VM, it certainly feels like 30 seconds, but only because the VM runs with a different rate of time.

Is what I'm asking for possible? If so, how do I do it and what should I be googling to learn more?

0 Answers0