Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump org.springframework.boot:spring-boot-dependencies from 3.3.5 to 3.4.0 #2117

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions embedded-opensearch/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<artifactId>embedded-opensearch</artifactId>

<properties>
<spring-data-opensearch-starter.version>1.5.4</spring-data-opensearch-starter.version>
<spring-data-opensearch-starter.version>1.6.0</spring-data-opensearch-starter.version>
<opensearch-testcontainers.version>2.1.2</opensearch-testcontainers.version>
</properties>

Expand Down Expand Up @@ -48,4 +48,4 @@
</exclusions>
</dependency>
</dependencies>
</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ public void springDataShouldWork() {
String key = "test::1";
String value = "myvalue";
assertThat(documentRepository).isNotNull();
assertThat(documentRepository.findById(key).isPresent()).isFalse();
assertThat(documentRepository.findById(key)).isEmpty();

TestDocument testDocument = saveDocument(key, value);

assertThat(documentRepository.findById(key).get()).isEqualTo(testDocument);
assertThat(documentRepository.findById(key)).contains(testDocument);
}

@Test
Expand All @@ -50,7 +50,7 @@ public void queryShouldWork() {

List<TestDocument> resultList = documentRepository.findByTitle(title);

assertThat(resultList.size()).isEqualTo(2);
assertThat(resultList).hasSize(2);
}

@Test
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
<module>embedded-minio</module>
<module>embedded-google-pubsub</module>
<module>embedded-google-storage</module>
<module>embedded-influxdb</module>
<module>embedded-vault</module>
<module>embedded-oracle-xe</module>
<module>embedded-mysql</module>
Expand Down Expand Up @@ -86,6 +85,7 @@
<module>embedded-mailhog</module>
<module>embedded-aerospike-enterprise</module>
<module>embedded-spicedb</module>
<module>embedded-influxdb</module>
</modules>

<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ void noConfigurationEqualsEmptyList() {
assertThat(it).hasSingleBean(CommonContainerProperties.class);
CommonContainerProperties properties = it.getBean(CommonContainerProperties.class);
assertThat(properties).isNotNull();
assertThat(properties.getMountVolumes()).hasSize(0);
assertThat(properties.getMountVolumes()).isEmpty();
});
}

Expand Down Expand Up @@ -71,7 +71,7 @@ void wrongModeFailsAtStartup() {
.run(it -> {
assertThat(it).hasFailed();
assertThat(it).getFailure().hasCauseExactlyInstanceOf(BindException.class);
assertThat(it).getFailure().getCause()
assertThat(it).getFailure().cause()
.hasMessage("Failed to bind properties under 'embedded.postgresql.mount-volumes[0].mode' to org.testcontainers.containers.BindMode");
});
}
Expand All @@ -82,8 +82,8 @@ void nullContainerPathFailsAtStartup() {
.run(it -> {
assertThat(it).hasFailed();
assertThat(it).getFailure().hasRootCauseExactlyInstanceOf(BindValidationException.class);
assertThat(it).getFailure().getRootCause()
.hasMessageContaining("on field 'containerPath': rejected value [null];");
assertThat(it).getFailure().rootCause()
.hasMessageContaining("on field 'mountVolumes[0].containerPath': rejected value [null];");
});
}

Expand All @@ -94,7 +94,7 @@ void emptyContainerPathFailsAtStartup() {
.run(it -> {
assertThat(it).hasFailed();
assertThat(it).getFailure().hasRootCauseExactlyInstanceOf(BindValidationException.class)
.getRootCause().hasMessageContaining("on field 'containerPath': rejected value [];");
.rootCause().hasMessageContaining("on field 'mountVolumes[0].containerPath': rejected value [];");
});
}

Expand All @@ -104,7 +104,7 @@ void nullHostPathFailsAtStartup() {
.run(it -> {
assertThat(it).hasFailed();
assertThat(it).getFailure().hasRootCauseExactlyInstanceOf(BindValidationException.class)
.getRootCause().hasMessageContaining("on field 'hostPath': rejected value [null];");
.rootCause().hasMessageContaining("on field 'mountVolumes[0].hostPath': rejected value [null];");
});
}

Expand All @@ -115,7 +115,7 @@ void emptyHostPathFailsAtStartup() {
.run(it -> {
assertThat(it).hasFailed();
assertThat(it).getFailure().hasRootCauseExactlyInstanceOf(BindValidationException.class)
.getRootCause().hasMessageContaining("on field 'hostPath': rejected value [];");
.rootCause().hasMessageContaining("on field 'mountVolumes[0].hostPath': rejected value [];");
});
}

Expand Down
4 changes: 2 additions & 2 deletions testcontainers-spring-boot-parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

<properties>
<testcontainers.version>1.20.4</testcontainers.version>
<spring.boot.version>3.3.5</spring.boot.version>
<spring.cloud.version>2023.0.4</spring.cloud.version>
<spring.boot.version>3.4.1</spring.boot.version>
<spring.cloud.version>2024.0.0</spring.cloud.version>
<spring.cloud.gcp.version>5.9.0</spring.cloud.gcp.version>
<equalsverifier.version>3.18</equalsverifier.version>
<junit-jupiter.version>5.11.4</junit-jupiter.version>
Expand Down
Loading