mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Upgrade to latest Hazelcast 3.x in integration tests
This commit is contained in:
parent
a780e87e9c
commit
69d1c3674a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2021 the original author or authors.
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -40,7 +40,7 @@ import static org.mockito.Mockito.mock;
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
@ClassPathExclusions("hazelcast*.jar")
|
||||
@ClassPathOverrides("com.hazelcast:hazelcast:3.12.8")
|
||||
@ClassPathOverrides("com.hazelcast:hazelcast:3.12.12")
|
||||
class Hazelcast3HazelcastHealthIndicatorTests {
|
||||
|
||||
@Test
|
||||
|
@ -40,8 +40,8 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Stephane Nicoll
|
||||
*/
|
||||
@ClassPathExclusions("hazelcast*.jar")
|
||||
@ClassPathOverrides({ "com.hazelcast:hazelcast:3.12.8", "com.hazelcast:hazelcast-client:3.12.8",
|
||||
"com.hazelcast:hazelcast-spring:3.12.8" })
|
||||
@ClassPathOverrides({ "com.hazelcast:hazelcast:3.12.12", "com.hazelcast:hazelcast-client:3.12.12",
|
||||
"com.hazelcast:hazelcast-spring:3.12.12" })
|
||||
class Hazelcast3AutoConfigurationTests {
|
||||
|
||||
private final ApplicationContextRunner contextRunner = new ApplicationContextRunner()
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2020 the original author or authors.
|
||||
* Copyright 2012-2022 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@ -40,7 +40,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
* @author Vedran Pavic
|
||||
*/
|
||||
@ClassPathExclusions("hazelcast*.jar")
|
||||
@ClassPathOverrides("com.hazelcast:hazelcast:3.12.8")
|
||||
@ClassPathOverrides("com.hazelcast:hazelcast:3.12.12")
|
||||
class SessionAutoConfigurationHazelcast3Tests extends AbstractSessionAutoConfigurationTests {
|
||||
|
||||
private final WebApplicationContextRunner contextRunner = new WebApplicationContextRunner()
|
||||
|
@ -7,8 +7,8 @@ description = "Spring Boot Hazelcast 3 smoke test"
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
force "com.hazelcast:hazelcast:3.12.8"
|
||||
force "com.hazelcast:hazelcast-spring:3.12.8"
|
||||
force "com.hazelcast:hazelcast:3.12.12"
|
||||
force "com.hazelcast:hazelcast-spring:3.12.12"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user