Java SDK doesn’t support manual time skipping. It skips the time automatically when the workflow under test is blocked.
maxim
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| TestWorkflowEnvironment.sleep for Workflow.await vs Workflow.sleep | 0 | 116 | March 18, 2025 | |
| How to properly use time skipping env.sleep | 8 | 958 | January 28, 2023 | |
| TestEnv Sleep Behavior | 21 | 2780 | March 22, 2021 | |
| Finding the Time Elapsed in Testing a Workflow that has workflow.Sleep | 2 | 1358 | February 12, 2022 | |
| How can I start and abandon a child workflow but still make it a skip time in unit tests? | 3 | 659 | February 22, 2024 |