From e727f178dcc24222cfa7fa721481ffc35372abfa Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Mon, 4 Nov 2024 13:17:33 -0800 Subject: [PATCH] Adapt to rroemhild/docker-test-openldap@b82f1b7 --- src/test/java/hudson/security/docker/MultiServerTest.java | 2 +- src/test/java/hudson/security/docker/PlanetExpressTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/hudson/security/docker/MultiServerTest.java b/src/test/java/hudson/security/docker/MultiServerTest.java index 0d7cebad..8f0b9f18 100644 --- a/src/test/java/hudson/security/docker/MultiServerTest.java +++ b/src/test/java/hudson/security/docker/MultiServerTest.java @@ -38,7 +38,7 @@ public class MultiServerTest { @SuppressWarnings("rawtypes") @Rule - public GenericContainer container = new GenericContainer(PlanetExpressTest.TEST_IMAGE).withExposedPorts(389); + public GenericContainer container = new GenericContainer(PlanetExpressTest.TEST_IMAGE).withExposedPorts(10389); public JenkinsRule j = new JenkinsRule(); public LDAPRule ads = new LDAPRule(); diff --git a/src/test/java/hudson/security/docker/PlanetExpressTest.java b/src/test/java/hudson/security/docker/PlanetExpressTest.java index 202b190e..387d7c9d 100644 --- a/src/test/java/hudson/security/docker/PlanetExpressTest.java +++ b/src/test/java/hudson/security/docker/PlanetExpressTest.java @@ -40,7 +40,7 @@ public class PlanetExpressTest { @SuppressWarnings("rawtypes") @Rule - public GenericContainer container = new GenericContainer(TEST_IMAGE).withExposedPorts(389); + public GenericContainer container = new GenericContainer(TEST_IMAGE).withExposedPorts(10389); @Rule public RealJenkinsRule rr = new RealJenkinsRule();