From 28d5a70ec0bf1c5b2126ae4bbb5af470012ed6b1 Mon Sep 17 00:00:00 2001 From: Bryan Bende Date: Fri, 11 Aug 2017 16:55:52 -0400 Subject: [PATCH] NIFI-4288 Ignoring tests that intermittently fail in TestPutUDP and TestPutTCP This closes #2076. Signed-off-by: Andy LoPresto --- .../java/org/apache/nifi/processors/standard/TestPutUDP.java | 1 + .../apache/nifi/processors/standard/util/TestPutTCPCommon.java | 3 +++ 2 files changed, 4 insertions(+) diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestPutUDP.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestPutUDP.java index a1fe11353d..813a30a652 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestPutUDP.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/TestPutUDP.java @@ -145,6 +145,7 @@ public class TestPutUDP { checkInputQueueIsEmpty(); } + @Ignore("This test is failing intermittently as documented in NIFI-4288") @Test(timeout = LONG_TEST_TIMEOUT_PERIOD) public void testInvalidIPAddress() throws Exception { configureProperties(INVALID_IP_ADDRESS, true); diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/util/TestPutTCPCommon.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/util/TestPutTCPCommon.java index e07d44a1b5..be52478c7e 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/util/TestPutTCPCommon.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/test/java/org/apache/nifi/processors/standard/util/TestPutTCPCommon.java @@ -24,6 +24,7 @@ import org.apache.nifi.util.TestRunner; import org.apache.nifi.util.TestRunners; import org.junit.After; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import java.net.InetAddress; @@ -203,6 +204,7 @@ public abstract class TestPutTCPCommon { checkTotalNumConnections(server, testData.length); } + @Ignore("This test is failing intermittently as documented in NIFI-4288") @Test(timeout = LONG_TEST_TIMEOUT_PERIOD) public void testInvalidIPAddress() throws Exception { server = createTestServer(TCP_SERVER_ADDRESS, recvQueue, OUTGOING_MESSAGE_DELIMITER); @@ -215,6 +217,7 @@ public abstract class TestPutTCPCommon { checkTotalNumConnections(server, 0); } + @Ignore("This test is failing intermittently as documented in NIFI-4288") @Test(timeout = LONG_TEST_TIMEOUT_PERIOD) public void testUnknownHostname() throws Exception { server = createTestServer(TCP_SERVER_ADDRESS, recvQueue, OUTGOING_MESSAGE_DELIMITER);