Some questions about ZIO.sleep and Clock #6878
Replies: 1 comment 8 replies
-
I guess when you override ‘aspects’ in ‘BaseSpec’ it removes the ‘TestAspect.fibers’ that the base class would add. It’s required for the test clock to work properly. there was a fix after RC6 that always adds this no matter how you override that method |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm upgrading to zio 2.0-rc6 for zio-redis, and I'm a little confused about sleep.
When I use RC6, such a test does not pass.
After some investigation, I found that maybe the reason was that the sleep time was not enough to allow Redis to expire.
Actual:
response2 = 1
Expect:
response2 = 0
Wondering if I'm missing something? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions