Skip to content

test: robust gitter setup#5134

Merged
cuixq merged 3 commits intogoogle:masterfrom
cuixq:gitter
Mar 26, 2026
Merged

test: robust gitter setup#5134
cuixq merged 3 commits intogoogle:masterfrom
cuixq:gitter

Conversation

@cuixq
Copy link
Copy Markdown
Contributor

@cuixq cuixq commented Mar 26, 2026

This PR improves the previous setup logic for gitter in osv/tests.py:

  • Implements a 60-second maximum wait time to accommodate compilation/startup in CI environments.
  • Uses socket.connect_ex to verify the port is open before proceeding.
  • Prints the exact time taken for the service to become ready.

@cuixq cuixq marked this pull request as ready for review March 26, 2026 04:35
@cuixq cuixq enabled auto-merge (squash) March 26, 2026 04:38
@cuixq cuixq merged commit b9e9ef2 into google:master Mar 26, 2026
21 checks passed
@cuixq cuixq deleted the gitter branch March 26, 2026 23:05
tymzd pushed a commit to tymzd/osv.dev that referenced this pull request Apr 13, 2026
This PR improves the previous setup logic for gitter in `osv/tests.py`:
- Implements a 60-second maximum wait time to accommodate
compilation/startup in CI environments.
- Uses `socket.connect_ex` to verify the port is open before proceeding.
 - Prints the exact time taken for the service to become ready.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants