From 017b16254bdd0b4a0ddb084b0370ee2dfbc30597 Mon Sep 17 00:00:00 2001 From: Joe Witt Date: Tue, 19 Sep 2023 13:22:49 -0700 Subject: [PATCH] NIFI-11903 disable if windows (#7566) --- .../nifi/controller/state/server/TestZooKeeperStateServer.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/state/server/TestZooKeeperStateServer.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/state/server/TestZooKeeperStateServer.java index 33b982dd1e..9cebded58a 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/state/server/TestZooKeeperStateServer.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/test/java/org/apache/nifi/controller/state/server/TestZooKeeperStateServer.java @@ -28,6 +28,7 @@ import org.apache.zookeeper.server.quorum.QuorumPeerConfig.ConfigException; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; import java.io.IOException; import java.io.PrintWriter; @@ -40,7 +41,9 @@ import java.util.Properties; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.condition.OS.WINDOWS; +@DisabledOnOs(WINDOWS) public class TestZooKeeperStateServer { private static ZooKeeperStateServer zkServer;