Skip to content

Commit 24ef4e6

Browse files
committed
Merge branch '2.5.x'
Closes spring-projectsgh-28471
2 parents e340429 + 7fbbb4e commit 24ef4e6

File tree

2 files changed

+3
-7
lines changed
  • spring-boot-project

2 files changed

+3
-7
lines changed

spring-boot-project/spring-boot-parent/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ bom {
163163
]
164164
}
165165
}
166-
library("Testcontainers", "1.16.0") {
166+
library("Testcontainers", "1.16.1") {
167167
group("org.testcontainers") {
168168
imports = [
169169
"testcontainers-bom"

spring-boot-project/spring-boot-tools/spring-boot-test-support/src/main/java/org/springframework/boot/testsupport/testcontainers/CassandraContainer.java

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
import java.time.Duration;
2020

2121
/**
22-
* Custom {@link org.testcontainers.containers.CassandraContainer} tuned to improve
23-
* startup time.
22+
* Custom {@link org.testcontainers.containers.CassandraContainer} tuned for stability in
23+
* heavily contended environments such as CI.
2424
*
2525
* @author Andy Wilkinson
2626
* @since 2.4.10
@@ -29,10 +29,6 @@ public class CassandraContainer extends org.testcontainers.containers.CassandraC
2929

3030
public CassandraContainer() {
3131
super(DockerImageNames.cassandra());
32-
withEnv("CASSANDRA_SNITCH", "GossipingPropertyFileSnitch");
33-
withEnv("JVM_OPTS", "-Dcassandra.skip_wait_for_gossip_to_settle=0 -Dcassandra.initial_token=0");
34-
withEnv("HEAP_NEWSIZE", "128M");
35-
withEnv("MAX_HEAP_SIZE", "1024M");
3632
withStartupTimeout(Duration.ofMinutes(10));
3733
}
3834

0 commit comments

Comments
 (0)