Merge branch '2.1.x'

Closes gh-17335
Closes gh-17292
This commit is contained in:
Andy Wilkinson
2019-06-27 11:46:52 +01:00
11 changed files with 74 additions and 60 deletions

View File

@@ -50,12 +50,12 @@ class HazelcastAutoConfigurationClientTests {
private static HazelcastInstance hazelcastServer;
@BeforeAll
public static void init() {
static void init() {
hazelcastServer = Hazelcast.newHazelcastInstance();
}
@AfterAll
public static void close() {
static void close() {
if (hazelcastServer != null) {
hazelcastServer.shutdown();
}

View File

@@ -58,7 +58,7 @@ class KafkaAutoConfigurationIntegrationTests {
private AnnotationConfigApplicationContext context;
@BeforeAll
public static void setUp() {
static void setUp() {
embeddedKafka.afterPropertiesSet();
}
@@ -70,7 +70,7 @@ class KafkaAutoConfigurationIntegrationTests {
}
@AfterAll
public static void tearDown() {
static void tearDown() {
embeddedKafka.destroy();
}