Skip to content

Try to fix Errno::EADDRINUSE in metrics_spec - #4710

Merged
philippthun merged 1 commit into
mainfrom
fix_metrics_spec_addrinuse
Dec 18, 2025
Merged

philippthun merged 1 commit into
mainfrom
fix_metrics_spec_addrinuse

Conversation

@jochenehret

@jochenehret jochenehret commented Dec 17, 2025 •

Copy link
Copy Markdown
Contributor
  • A short explanation of the proposed change:
    In the GitHub unit test action, we often see multiple errors "Address already in use - bind(2) for "127.0.0.1" port 9395". Try to use an ephemeral port for each test instead.

  • An explanation of the use cases your change solves
    Stabilizes unit tests for PRs.

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

@jochenehret
jochenehret force-pushed the fix_metrics_spec_addrinuse branch from d745040 to 9b1ef73 Compare December 17, 2025 13:46
@jochenehret
jochenehret marked this pull request as ready for review December 17, 2025 14:13
@jochenehret
jochenehret requested review from a team December 17, 2025 14:13
Comment thread spec/request/internal/metrics_spec.rb Outdated
* in the GitHub unit test action, we often see multiple errors "Address already in use - bind(2) for "127.0.0.1" port 9395"
* try to use an ephemeral port for each test
@jochenehret
jochenehret force-pushed the fix_metrics_spec_addrinuse branch from 9b1ef73 to b4d0802 Compare December 18, 2025 12:25
@philippthun
philippthun merged commit 41f2057 into main Dec 18, 2025
11 checks passed
ari-wg-gitbot added a commit to cloudfoundry/capi-release that referenced this pull request Dec 18, 2025
Changes in cloud_controller_ng:

- Try to fix Errno::EADDRINUSE in metrics_spec
    PR: cloudfoundry/cloud_controller_ng#4710
    Author: Jochen Ehret <jochen.ehret@sap.com>
@moleske
moleske deleted the fix_metrics_spec_addrinuse branch December 19, 2025 17:11
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.

2 participants