Skip to content

DnsNameResolver: Skip test if we can not bind TCP and UDP to the same port#16455

Merged
chrisvest merged 1 commit into
4.2from
use_assumption
Mar 14, 2026
Merged

DnsNameResolver: Skip test if we can not bind TCP and UDP to the same port#16455
chrisvest merged 1 commit into
4.2from
use_assumption

Conversation

@normanmaurer

Copy link
Copy Markdown
Member

Motivation:

On windows we sometimes see failures when we try to bind TCP and UDP to the same port for our tests even after we retried multiple times. To make the CI less stable we should just skip the test in this case.

Modifications:

Just abort the test via an Assumption if we can't bind

Result:

More stable CI

… port

Motivation:

On windows we sometimes see failures when we try to bind TCP and UDP to the same port for our tests even after we retried multiple times. To make the CI less stable we should just skip the test in this case.

Modifications:

Just abort the test via an Assumption if we can't bind

Result:

More stable CI
@normanmaurer normanmaurer added this to the 4.2.11.Final milestone Mar 13, 2026
@normanmaurer normanmaurer added needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. labels Mar 13, 2026
@chrisvest chrisvest merged commit 35a06f9 into 4.2 Mar 14, 2026
24 checks passed
@chrisvest chrisvest deleted the use_assumption branch March 14, 2026 00:28
netty-project-bot pushed a commit that referenced this pull request Mar 14, 2026
… port (#16455)

Motivation:

On windows we sometimes see failures when we try to bind TCP and UDP to
the same port for our tests even after we retried multiple times. To
make the CI less stable we should just skip the test in this case.

Modifications:

Just abort the test via an Assumption if we can't bind

Result:

More stable CI

(cherry picked from commit 35a06f9)
@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port PR for 4.1: #16464

netty-project-bot pushed a commit that referenced this pull request Mar 14, 2026
… port (#16455)

Motivation:

On windows we sometimes see failures when we try to bind TCP and UDP to
the same port for our tests even after we retried multiple times. To
make the CI less stable we should just skip the test in this case.

Modifications:

Just abort the test via an Assumption if we can't bind

Result:

More stable CI

(cherry picked from commit 35a06f9)
@github-actions github-actions Bot removed the needs-cherry-pick-4.1 This PR should be cherry-picked to 4.1 once merged. label Mar 14, 2026
@netty-project-bot

Copy link
Copy Markdown
Contributor

Auto-port PR for 5.0: #16465

@github-actions github-actions Bot removed the needs-cherry-pick-5.0 This PR should be cherry-picked to 5.0 once merged. label Mar 14, 2026
chrisvest pushed a commit that referenced this pull request Mar 14, 2026
…UDP to the same port (#16464)

Auto-port of #16455 to 4.1
Cherry-picked commit: 35a06f9

---
Motivation:

On windows we sometimes see failures when we try to bind TCP and UDP to
the same port for our tests even after we retried multiple times. To
make the CI less stable we should just skip the test in this case.

Modifications:

Just abort the test via an Assumption if we can't bind

Result:

More stable CI

Co-authored-by: Norman Maurer <norman_maurer@apple.com>
normanmaurer added a commit that referenced this pull request Mar 14, 2026
…UDP to the same port (#16465)

Auto-port of #16455 to 5.0
Cherry-picked commit: 35a06f9

---
Motivation:

On windows we sometimes see failures when we try to bind TCP and UDP to
the same port for our tests even after we retried multiple times. To
make the CI less stable we should just skip the test in this case.

Modifications:

Just abort the test via an Assumption if we can't bind

Result:

More stable CI

Co-authored-by: Norman Maurer <norman_maurer@apple.com>
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