NIFI-3412 ignoring tests which depend on timing/network setup

This closes #1503.

Signed-off-by: Andy LoPresto <alopresto@apache.org>
This commit is contained in:
joewitt 2017-02-13 23:43:14 -05:00 committed by Andy LoPresto
parent f1d0a6b36b
commit 7e97946c35
No known key found for this signature in database
GPG Key ID: 3C6EF65B2F7DEF69
1 changed files with 3 additions and 0 deletions

View File

@ -26,6 +26,7 @@ import java.net.Socket;
import org.apache.nifi.util.TestRunner;
import org.apache.nifi.util.TestRunners;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
public final class TestGetTCP {
@ -71,6 +72,7 @@ public final class TestGetTCP {
testRunner.assertValid();
}
@Ignore("test is brittle as depends on timing - not reliable across systems, in parallel builds, etc..")
@Test
public void testSuccessInteraction() throws Exception {
int port = this.availablePort();
@ -85,6 +87,7 @@ public final class TestGetTCP {
server.stop();
}
@Ignore("test is brittle as depends on timing - not reliable across systems, in parallel builds, etc..")
@Test
public void testPartialInteraction() throws Exception {
int port = this.availablePort();