Skip to content

Commit

Permalink
Upgrade to Undertow 2.3.17.Final
Browse files Browse the repository at this point in the history
Closes gh-42302
  • Loading branch information
snicoll committed Sep 13, 2024
1 parent d3861bc commit e6e7357
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
6 changes: 1 addition & 5 deletions spring-boot-project/spring-boot-dependencies/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -1765,11 +1765,7 @@ bom {
]
}
}
library("Undertow", "2.3.13.Final") {
prohibit {
versionRange "[2.3.14.Final,2.3.15.Final]"
because "it contains a regression (https://issues.redhat.com/browse/UNDERTOW-2420)"
}
library("Undertow", "2.3.17.Final") {
group("io.undertow") {
modules = [
"undertow-core",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,13 @@ void whenServerIsShuttingDownARequestOnAnIdleConnectionAreRejectedWithServiceUna
this.webServer.stop();
}

@Test
@Override
@Disabled("https://issues.redhat.com/browse/UNDERTOW-2420")
protected void portClashOfSecondaryConnectorResultsInPortInUseException() throws Exception {
super.portClashOfSecondaryConnectorResultsInPortInUseException();
}

@Test
@Override
@Disabled("Restart after stop is not supported with Undertow")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1094,7 +1094,7 @@ protected void portClashOfPrimaryConnectorResultsInPortInUseException() throws E
}

@Test
void portClashOfSecondaryConnectorResultsInPortInUseException() throws Exception {
protected void portClashOfSecondaryConnectorResultsInPortInUseException() throws Exception {
doWithBlockedPort((port) -> {
assertThatExceptionOfType(RuntimeException.class).isThrownBy(() -> {
AbstractServletWebServerFactory factory = getFactory();
Expand Down

0 comments on commit e6e7357

Please sign in to comment.