You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tests take 2m+ but they should only take a few seconds. I think there is a 90s sleep in there we should remove, but there may be other sleeps we should remove. We should try to be reactive to results instead of 1s+ sleeping (even if that means high-frequency polling). We can redesign tests or even reduce the strictness of our assertions if we must (hopefully not).
The text was updated successfully, but these errors were encountered:
## What was changed
<!-- Describe what has changed in this PR -->
Set cluster cache refresh rate to seconds instead of minutes. Now our
test doesn't need to wait 60+ seconds for the cache to refresh
`TestOperator_Cluster_Operations` goes from ~118.29 seconds to ~4.4
seconds
Overall CI runtime goes from 10m32s to 7m26s (sample size 1)
## Why?
<!-- Tell your future self why have you made these changes -->
Speed up tests
## Checklist
<!--- add/delete as needed --->
1. Closes#645
2. How was this tested:
<!--- Please describe how you tested your changes/how we can test them
-->
Ran test locally
3. Any docs updates needed?
<!--- update README if applicable
or point out where to update docs.temporal.io -->
Describe the solution you'd like
Currently tests take 2m+ but they should only take a few seconds. I think there is a 90s sleep in there we should remove, but there may be other sleeps we should remove. We should try to be reactive to results instead of 1s+ sleeping (even if that means high-frequency polling). We can redesign tests or even reduce the strictness of our assertions if we must (hopefully not).
The text was updated successfully, but these errors were encountered: