Skip to content
Permalink
Browse files
mark ConnectionFailureDetectorTest.java as Integration because it req…
…uires ports accessible

the failure log is recorded at:
https://gist.github.com/davidx/1a21649a5e637b7b2a6a
  • Loading branch information
ahgittin committed Jan 21, 2016
1 parent 5118860 commit 0482cbd9c3f9197c032f9188837fc872d94aebc7
Showing 1 changed file with 6 additions and 1 deletion.
@@ -37,19 +37,24 @@
import org.apache.brooklyn.core.entity.factory.ApplicationBuilder;
import org.apache.brooklyn.core.test.entity.LocalManagementContextForTests;
import org.apache.brooklyn.core.test.entity.TestApplication;
import org.apache.brooklyn.policy.ha.HASensors.FailureDescriptor;
import org.apache.brooklyn.test.Asserts;
import org.apache.brooklyn.util.collections.MutableMap;
import org.apache.brooklyn.util.time.Duration;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
import org.apache.brooklyn.policy.ha.HASensors.FailureDescriptor;

import com.google.common.base.Predicate;
import com.google.common.base.Predicates;
import com.google.common.collect.ImmutableMap;
import com.google.common.net.HostAndPort;

@Test(groups="Integration")
// can fail if a firewall is in place on high-numbered ephemeral ports;
// at least one report of *test* failures, as in no events coming in;
// log unavailable but the test has been passing everywhere else so we
// suspect some environments don't support this test
public class ConnectionFailureDetectorTest {

private static final int TIMEOUT_MS = 30*1000;

0 comments on commit 0482cbd

Please sign in to comment.