Skip to content

Commit b42b01a

Browse files
committed
Upgrade Hazelcast 4 to 4.2
Closes gh-1821
1 parent 6744fee commit b42b01a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

spring-session-hazelcast/hazelcast4/hazelcast4.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ artifacts {
3131

3232
dependencies {
3333
compile project(':spring-session-core')
34-
optional "com.hazelcast:hazelcast:4.1.1"
34+
optional "com.hazelcast:hazelcast:4.2"
3535
compile "org.springframework:spring-context"
3636
compile "javax.annotation:javax.annotation-api"
3737

@@ -42,7 +42,7 @@ dependencies {
4242
testRuntime "org.junit.jupiter:junit-jupiter-engine"
4343

4444
integrationTestCompile "org.testcontainers:testcontainers"
45-
integrationTestCompile "com.hazelcast:hazelcast:4.1.1"
45+
integrationTestCompile "com.hazelcast:hazelcast:4.2"
4646
integrationTestCompile project(":spring-session-hazelcast")
4747
}
4848

spring-session-hazelcast/hazelcast4/src/integration-test/java/org/springframework/session/hazelcast/ClientServerHazelcast4IndexedSessionRepositoryITests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
@WebAppConfiguration
4646
class ClientServerHazelcast4IndexedSessionRepositoryITests extends AbstractHazelcast4IndexedSessionRepositoryITests {
4747

48-
private static GenericContainer container = new GenericContainer<>("hazelcast/hazelcast:4.1.1")
49-
.withExposedPorts(5701).withCopyFileToContainer(MountableFile.forClasspathResource("/hazelcast-server.xml"),
48+
private static GenericContainer container = new GenericContainer<>("hazelcast/hazelcast:4.2").withExposedPorts(5701)
49+
.withCopyFileToContainer(MountableFile.forClasspathResource("/hazelcast-server.xml"),
5050
"/opt/hazelcast/hazelcast.xml");
5151

5252
@BeforeAll

spring-session-samples/spring-session-sample-boot-hazelcast4/spring-session-sample-boot-hazelcast4.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dependencies {
66
compile "org.springframework.boot:spring-boot-starter-web"
77
compile "org.springframework.boot:spring-boot-starter-thymeleaf"
88
compile "org.springframework.boot:spring-boot-starter-security"
9-
compile "com.hazelcast:hazelcast:4.1.1"
9+
compile "com.hazelcast:hazelcast:4.2"
1010
compile "nz.net.ultraq.thymeleaf:thymeleaf-layout-dialect"
1111
compile "org.webjars:bootstrap"
1212
compile "org.webjars:html5shiv"

0 commit comments

Comments
 (0)