Skip to content

Commit ff0bfb0

Browse files
committed
Merge pull request #49900 from onobc
* fix-pulsar-tests: Upgrade to Pulsar 4.2.0 Closes gh-49900
2 parents ccfb36c + 85af0d6 commit ff0bfb0

File tree

2 files changed

+4
-3
lines changed
  • platform/spring-boot-dependencies
  • test-support/spring-boot-docker-test-support/src/main/java/org/springframework/boot/testsupport/container

2 files changed

+4
-3
lines changed

platform/spring-boot-dependencies/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1898,7 +1898,7 @@ bom {
18981898
releaseNotes("https://github.com/prometheus/client_java/releases/tag/parent-{version}")
18991899
}
19001900
}
1901-
library("Pulsar", "4.1.3") {
1901+
library("Pulsar", "4.2.0") {
19021902
group("org.apache.pulsar") {
19031903
bom("pulsar-bom")
19041904
}

test-support/spring-boot-docker-test-support/src/main/java/org/springframework/boot/testsupport/container/TestImage.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,10 @@ public enum TestImage {
238238
/**
239239
* A container image suitable for testing Pulsar.
240240
*/
241-
PULSAR("apachepulsar/pulsar", "3.3.3", () -> PulsarContainer.class,
241+
PULSAR("apachepulsar/pulsar", "4.2.0", () -> PulsarContainer.class,
242242
(container) -> ((PulsarContainer) container).withStartupAttempts(2)
243-
.withStartupTimeout(Duration.ofMinutes(3))),
243+
.withStartupTimeout(Duration.ofMinutes(3))
244+
.withEnv("PULSAR_PREFIX_advertisedAddress", "localhost")),
244245

245246
/**
246247
* A container image suitable for testing Pulsar using the deprecated

0 commit comments

Comments
 (0)