Skip to content

Conversation

@zoewangg
Copy link
Contributor

Use dynamic port for ApacheMetricsTest to reduce flakiness

Caused by: java.io.IOException: Failed to bind to /0.0.0.0:8080 
 at org.eclipse.jetty.server.ServerConnector.openAcceptChannel(ServerConnector.java:349) 
 at org.eclipse.jetty.server.ServerConnector.open(ServerConnector.java:310) 
 at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:80) 
 at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:234) 
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) 
 at org.eclipse.jetty.server.Server.doStart(Server.java:401) 
 at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73) 
 at com.github.tomakehurst.wiremock.jetty9.JettyHttpServer.start(JettyHttpServer.java:218) 
 ... 36 more

@zoewangg zoewangg requested a review from a team as a code owner December 15, 2025 21:32

@Rule
public ExpectedException thrown = ExpectedException.none();
@RegisterExtension
Copy link
Contributor

Choose a reason for hiding this comment

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

Nice!

@zoewangg zoewangg enabled auto-merge December 15, 2025 21:55
@sonarqubecloud
Copy link

@zoewangg zoewangg added this pull request to the merge queue Dec 15, 2025
Merged via the queue into master with commit 7a1f13b Dec 15, 2025
39 of 40 checks passed
@github-actions
Copy link

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 15, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants