From 8a3fbed6eb0edf8f48d39df10a80e392ecb2cf29 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Thu, 9 Dec 2021 20:44:40 +0000 Subject: [PATCH] Downgrade Wildfly to work around basic auth bug As described in https://issues.redhat.com/browse/WFLY-15478, Wildfly 25.0.0.Final rejects all requests that use basic auth with a 401 response. 25.0.0.Final is, at the time of writing, the latest available Wildfly Docker image so we need to downgrade to 24.0.0.Final. Closes gh-28956 --- .../springframework/boot/deployment/WildflyDeploymentTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-system-tests/spring-boot-deployment-tests/src/systemTest/java/org/springframework/boot/deployment/WildflyDeploymentTests.java b/spring-boot-system-tests/spring-boot-deployment-tests/src/systemTest/java/org/springframework/boot/deployment/WildflyDeploymentTests.java index 1ccf0170ef4..1d164e726fa 100644 --- a/spring-boot-system-tests/spring-boot-deployment-tests/src/systemTest/java/org/springframework/boot/deployment/WildflyDeploymentTests.java +++ b/spring-boot-system-tests/spring-boot-deployment-tests/src/systemTest/java/org/springframework/boot/deployment/WildflyDeploymentTests.java @@ -29,7 +29,7 @@ import org.testcontainers.junit.jupiter.Testcontainers; class WildflyDeploymentTests extends AbstractDeploymentTests { @Container - static WarDeploymentContainer container = new WarDeploymentContainer("jboss/wildfly:latest", + static WarDeploymentContainer container = new WarDeploymentContainer("jboss/wildfly:24.0.0.Final", "/opt/jboss/wildfly/standalone/deployments", DEFAULT_PORT); @Override