NIFI-4288 Ignoring tests that intermittently fail in TestPutUDP and TestPutTCP

This closes #2076.

Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
Bryan Bende 2017-08-11 16:55:52 -04:00 committed by Andy LoPresto
parent d6ebc53076
commit 28d5a70ec0
No known key found for this signature in database
GPG Key ID: 6EC293152D90B61D
2 changed files with 4 additions and 0 deletions

View File

@ -145,6 +145,7 @@ public class TestPutUDP {
checkInputQueueIsEmpty(); checkInputQueueIsEmpty();
} }
@Ignore("This test is failing intermittently as documented in NIFI-4288")
@Test(timeout = LONG_TEST_TIMEOUT_PERIOD) @Test(timeout = LONG_TEST_TIMEOUT_PERIOD)
public void testInvalidIPAddress() throws Exception { public void testInvalidIPAddress() throws Exception {
configureProperties(INVALID_IP_ADDRESS, true); configureProperties(INVALID_IP_ADDRESS, true);

View File

@ -24,6 +24,7 @@ import org.apache.nifi.util.TestRunner;
import org.apache.nifi.util.TestRunners; import org.apache.nifi.util.TestRunners;
import org.junit.After; import org.junit.After;
import org.junit.Before; import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import java.net.InetAddress; import java.net.InetAddress;
@ -203,6 +204,7 @@ public abstract class TestPutTCPCommon {
checkTotalNumConnections(server, testData.length); checkTotalNumConnections(server, testData.length);
} }
@Ignore("This test is failing intermittently as documented in NIFI-4288")
@Test(timeout = LONG_TEST_TIMEOUT_PERIOD) @Test(timeout = LONG_TEST_TIMEOUT_PERIOD)
public void testInvalidIPAddress() throws Exception { public void testInvalidIPAddress() throws Exception {
server = createTestServer(TCP_SERVER_ADDRESS, recvQueue, OUTGOING_MESSAGE_DELIMITER); server = createTestServer(TCP_SERVER_ADDRESS, recvQueue, OUTGOING_MESSAGE_DELIMITER);
@ -215,6 +217,7 @@ public abstract class TestPutTCPCommon {
checkTotalNumConnections(server, 0); checkTotalNumConnections(server, 0);
} }
@Ignore("This test is failing intermittently as documented in NIFI-4288")
@Test(timeout = LONG_TEST_TIMEOUT_PERIOD) @Test(timeout = LONG_TEST_TIMEOUT_PERIOD)
public void testUnknownHostname() throws Exception { public void testUnknownHostname() throws Exception {
server = createTestServer(TCP_SERVER_ADDRESS, recvQueue, OUTGOING_MESSAGE_DELIMITER); server = createTestServer(TCP_SERVER_ADDRESS, recvQueue, OUTGOING_MESSAGE_DELIMITER);