Repository navigation
Conversation
| # actually release all the resources. This manifests as a failure | ||
| # to start up the agent. | ||
| time.sleep(5) | ||
|
|
There was a problem hiding this comment.
This is tricky to test since it is the first test in the file. I needed to run a series of tests to get the agent to fail to start with a "Windows Error 10013: An attempt was made to access a socket in a way forbidden" in the dashboard_agent.txt log. I am not sure this is the best way to prevent the problem. If this helps make the test less flaky, we should think about a more systematic way to ensure a pause after ray stop.
|
When running the tests alone, they passed. Only when running them in a series did the failures manifest. I am pretty sure the timeouts were just on the cusp when running them alone, and I think something about starting/stopping ray on windows slows everything down |
|
The failure in |
|
Any thoughts about this? It would be nice to improve test_metrics to crash less |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
|
|
Hi again! The issue will be closed because there has been no more activity in the 14 days since the last message. Please feel free to reopen or open a new issue if you'd still like it to be addressed. Again, you can always ask for help on our discussion forum or Ray's public slack channel. Thanks again for opening the issue! |
Why are these changes needed?
The test_async and test_metrics tests are quite high on https://flaky-tests.ray.io. Running them locally I could see that the timeouts are not long enough.
Related issue number
Checks
scripts/format.shto lint the changes in this PR.