parent
6a1f2f7c20
commit
aa265afd86
2 changed files with 12 additions and 4 deletions
|
|
@ -5,10 +5,7 @@ import com.hazelcast.core.Hazelcast;
|
|||
import com.hazelcast.core.HazelcastInstance;
|
||||
import com.hazelcast.core.IMap;
|
||||
import org.apache.commons.lang3.exception.ExceptionUtils;
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Assumptions;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.*;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
|
@ -72,6 +69,11 @@ public class AllMapStoreTest {
|
|||
Hazelcast.shutdownAll();
|
||||
}
|
||||
|
||||
@AfterAll
|
||||
static void shutdownAll() {
|
||||
Hazelcast.shutdownAll();
|
||||
}
|
||||
|
||||
@PostConstruct
|
||||
public void initTestObjects() {
|
||||
try {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
package ru.spcex.clearing.imdg.services;
|
||||
|
||||
import com.hazelcast.core.Hazelcast;
|
||||
import org.junit.jupiter.api.AfterAll;
|
||||
import org.junit.jupiter.api.BeforeAll;
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
|
|
@ -42,6 +43,11 @@ class PlannerAllTodayMakerTest {
|
|||
Hazelcast.shutdownAll();
|
||||
}
|
||||
|
||||
@AfterAll
|
||||
static void shutdownAll() {
|
||||
Hazelcast.shutdownAll();
|
||||
}
|
||||
|
||||
@Test
|
||||
void needAddFromPlannerTemplate() {
|
||||
PlannerAllTodayMaker plannerAllTodayMaker = new PlannerAllTodayMaker(testConfig.getHazelcastInstance());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue