From ee15b5b585b37f15152d3d9368e6180034a5e0aa Mon Sep 17 00:00:00 2001 From: ZhongJinHacker Date: Sun, 10 Mar 2024 22:18:52 +0800 Subject: [PATCH] fix style check --- .../server/master/registry/MasterRegistryClientTest.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dolphinscheduler-master/src/test/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClientTest.java b/dolphinscheduler-master/src/test/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClientTest.java index 2ed196c14ed9..2ff2b873e1b9 100644 --- a/dolphinscheduler-master/src/test/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClientTest.java +++ b/dolphinscheduler-master/src/test/java/org/apache/dolphinscheduler/server/master/registry/MasterRegistryClientTest.java @@ -17,6 +17,8 @@ package org.apache.dolphinscheduler.server.master.registry; +import static org.mockito.BDDMockito.given; + import org.apache.dolphinscheduler.common.enums.CommandType; import org.apache.dolphinscheduler.common.enums.ServerStatus; import org.apache.dolphinscheduler.common.model.MasterHeartBeat; @@ -28,6 +30,9 @@ import org.apache.dolphinscheduler.server.master.config.MasterConfig; import org.apache.dolphinscheduler.server.master.task.MasterHeartBeatTask; import org.apache.dolphinscheduler.service.process.ProcessService; + +import java.util.Date; + import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.ExtendWith; @@ -39,10 +44,6 @@ import org.mockito.quality.Strictness; import org.springframework.test.util.ReflectionTestUtils; -import java.util.Date; - -import static org.mockito.BDDMockito.given; - /** * MasterRegistryClientTest */