Skip to content

Detect http test readiness with retry loop#200

Merged
cottsay merged 1 commit intomasterfrom
cottsay/test-http-retry
Oct 15, 2025
Merged

Detect http test readiness with retry loop#200
cottsay merged 1 commit intomasterfrom
cottsay/test-http-retry

Conversation

@cottsay
Copy link
Member

@cottsay cottsay commented Oct 13, 2025

This replaces the existing static sleep.

@cottsay cottsay self-assigned this Oct 13, 2025
@cottsay cottsay force-pushed the cottsay/test-http-retry branch from e3ab6e1 to 095af7b Compare October 13, 2025 16:47
@cottsay cottsay force-pushed the cottsay/test-http-retry branch from 095af7b to 6012bef Compare October 13, 2025 16:52
@cottsay
Copy link
Member Author

cottsay commented Oct 13, 2025

I don't really understand what's going on here, but some of the macos-latest GitHub Actions runners are taking an extremely long time to run our tests here. Normal runs are on the order of ~10 seconds, but new Python versions on macOS are more like ~90 seconds.

This retry loop should allow other platforms to continue running the tests quickly but will allow for the unpredictable performance we're seeing on macOS.

@cottsay cottsay marked this pull request as ready for review October 13, 2025 17:08
@cottsay cottsay added the bug label Oct 13, 2025
@cottsay cottsay requested a review from tfoote October 13, 2025 17:33
@cottsay
Copy link
Member Author

cottsay commented Oct 13, 2025

Copy link
Member

@tfoote tfoote left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks this is a better approach. Not sure what's going on with MacOS

@cottsay cottsay merged commit 9e67766 into master Oct 15, 2025
17 checks passed
@cottsay cottsay deleted the cottsay/test-http-retry branch October 15, 2025 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants