Manual Time Skipping

Hello,

I am researching how to use manual time skipping when testing Workflow code. When I look at the documentation, I only see "Learn to skip time manually in the SDK of your choice." Could someone elaborate or point me to an example on how to use time skipping manually in Java?

Thanks!

1 Like

Java SDK doesn’t support manual time skipping. It skips the time automatically when the workflow under test is blocked.

1 Like

What does the .sleep(duration Duration) function do then?

It forwards time forward.

How is that different from “manually skipping time”?