Skip to content

Fix unstable QuicServerTest.testRebind#5942

Open
ahus1 wants to merge 1 commit intoeclipse-vertx:masterfrom
ahus1:is-5941-stabilize-QuicServerTest.testRebind
Open

Fix unstable QuicServerTest.testRebind#5942
ahus1 wants to merge 1 commit intoeclipse-vertx:masterfrom
ahus1:is-5941-stabilize-QuicServerTest.testRebind

Conversation

@ahus1
Copy link
Contributor

@ahus1 ahus1 commented Feb 6, 2026

Closes #5941

Motivation: Closing the server explicitly when the verticle is undeployed to avoid the "Bind Address already in use" error.

Let me know if this is a valid fix, or if the test was trying to test something else.

@vietj
Copy link
Member

vietj commented Feb 8, 2026

@ahus1 normally the HTTP server bound by this verticle should be automatically undeployed as it is registered against the verticle for being undeployed via a hook

@ahus1 ahus1 force-pushed the is-5941-stabilize-QuicServerTest.testRebind branch from 9207070 to e11a95c Compare February 8, 2026 13:03
@ahus1
Copy link
Contributor Author

ahus1 commented Feb 8, 2026

normally the HTTP server bound by this verticle should be automatically undeployed as it is registered against the verticle for being undeployed via a hook

OK, I wasn't aware of that automatic handling - it came to me as a surprise. I see that this is mentioned in the docs.

As I wasn't able to reproduce the problem, I first enhanced the code to provide some additional information when this happens the next time. Please let me know if this is ok.

BTW, the GitHub CI failed due to another problem, and I opened yet another unstable test case issue: #5952

@ahus1 ahus1 marked this pull request as ready for review February 8, 2026 15:15
@ahus1 ahus1 force-pushed the is-5941-stabilize-QuicServerTest.testRebind branch from e11a95c to 6fb0e0f Compare February 9, 2026 16:40
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.

Unstable test QuicServerTest.testRebind

2 participants