From 6a1f2f7c20776444b8695016544a4a6d1036ed25 Mon Sep 17 00:00:00 2001 From: psemenkov Date: Wed, 26 Apr 2023 14:03:47 +0300 Subject: [PATCH] =?UTF-8?q?http://jira.mfd.msk:8088/browse/CLS-268=20?= =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=20=D1=82=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D1=8B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/test/java/ru/spcex/clearing/imdg/AllMapStoreTest.java | 2 ++ .../spcex/clearing/imdg/services/PlannerAllTodayMakerTest.java | 2 ++ 2 files changed, 4 insertions(+) diff --git a/clearing-parent/imdg/src/test/java/ru/spcex/clearing/imdg/AllMapStoreTest.java b/clearing-parent/imdg/src/test/java/ru/spcex/clearing/imdg/AllMapStoreTest.java index f3a5970d0..1bbe3a1cb 100644 --- a/clearing-parent/imdg/src/test/java/ru/spcex/clearing/imdg/AllMapStoreTest.java +++ b/clearing-parent/imdg/src/test/java/ru/spcex/clearing/imdg/AllMapStoreTest.java @@ -1,6 +1,7 @@ package ru.spcex.clearing.imdg; import com.hazelcast.config.MapStoreConfig; +import com.hazelcast.core.Hazelcast; import com.hazelcast.core.HazelcastInstance; import com.hazelcast.core.IMap; import org.apache.commons.lang3.exception.ExceptionUtils; @@ -68,6 +69,7 @@ public class AllMapStoreTest { Path path = Paths.get("src", "main", "resources"); String currentPath = path.toAbsolutePath().toString(); System.setProperty("spring.config.location", currentPath); + Hazelcast.shutdownAll(); } @PostConstruct diff --git a/clearing-parent/imdg/src/test/java/ru/spcex/clearing/imdg/services/PlannerAllTodayMakerTest.java b/clearing-parent/imdg/src/test/java/ru/spcex/clearing/imdg/services/PlannerAllTodayMakerTest.java index 99a0d9cab..84466d114 100644 --- a/clearing-parent/imdg/src/test/java/ru/spcex/clearing/imdg/services/PlannerAllTodayMakerTest.java +++ b/clearing-parent/imdg/src/test/java/ru/spcex/clearing/imdg/services/PlannerAllTodayMakerTest.java @@ -1,5 +1,6 @@ package ru.spcex.clearing.imdg.services; +import com.hazelcast.core.Hazelcast; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -38,6 +39,7 @@ class PlannerAllTodayMakerTest { Path path = Paths.get("src", "main", "resources"); String currentPath = path.toAbsolutePath().toString(); System.setProperty("spring.config.location", currentPath); + Hazelcast.shutdownAll(); } @Test