Commit e89fd19
authored
Fix test TestProcessWorkflowRunTimeout_Pending (temporalio#7181)
## What changed?
<!-- Describe what has changed in this PR -->
Fix test TestProcessWorkflowRunTimeout_Pending.
## Why?
<!-- Tell your future self why have you made these changes -->
This test was flaky, and relying on the test suite `now` variable to be
very close to the mutable state start time. If the difference is less
than 1ms, I think the test passes.
## How did you test it?
<!-- How have you verified this change? Tested locally? Added a unit
test? Checked in staging env? -->
## Potential risks
<!-- Assuming the worst case, what can be broken when deploying this
change to production? -->
## Documentation
<!-- Have you made sure this change doesn't falsify anything currently
stated in `docs/`? If significant
new behavior is added, have you described that in `docs/`? -->
## Is hotfix candidate?
<!-- Is this PR a hotfix candidate or does it require a notification to
be sent to the broader community? (Yes/No) -->1 parent a5b5b9f commit e89fd19
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1054 | 1054 | | |
1055 | 1055 | | |
1056 | 1056 | | |
| 1057 | + | |
1057 | 1058 | | |
1058 | 1059 | | |
1059 | 1060 | | |
| |||
1062 | 1063 | | |
1063 | 1064 | | |
1064 | 1065 | | |
1065 | | - | |
| 1066 | + | |
1066 | 1067 | | |
1067 | 1068 | | |
1068 | 1069 | | |
| |||
0 commit comments