fix tests to not mix local transport and zen unicast disco

This commit is contained in:
Simon Willnauer 2015-08-20 00:29:00 +02:00
parent 0de007a33b
commit f466a842c6
2 changed files with 6 additions and 0 deletions

View file

@ -68,6 +68,11 @@ import static org.hamcrest.Matchers.notNullValue;
@ClusterScope(scope = Scope.TEST, numDataNodes = 0) @ClusterScope(scope = Scope.TEST, numDataNodes = 0)
public class ClusterServiceIT extends ESIntegTestCase { public class ClusterServiceIT extends ESIntegTestCase {
@Override
protected boolean forceNetwork() {
return true; // TODO only testLocalNodeMasterListenerCallbacks needs this - maybe factor out?
}
@Test @Test
public void testTimeoutUpdateTask() throws Exception { public void testTimeoutUpdateTask() throws Exception {
Settings settings = settingsBuilder() Settings settings = settingsBuilder()

View file

@ -72,6 +72,7 @@ import static org.elasticsearch.test.hamcrest.ElasticsearchAssertions.assertAcke
import static org.hamcrest.Matchers.*; import static org.hamcrest.Matchers.*;
@ClusterScope(scope = Scope.TEST, numDataNodes = 0, transportClientRatio = 0) @ClusterScope(scope = Scope.TEST, numDataNodes = 0, transportClientRatio = 0)
@LuceneTestCase.AwaitsFix(bugUrl = "this one is just beyond nuts")
public class DiscoveryWithServiceDisruptionsIT extends ESIntegTestCase { public class DiscoveryWithServiceDisruptionsIT extends ESIntegTestCase {
private static final TimeValue DISRUPTION_HEALING_OVERHEAD = TimeValue.timeValueSeconds(40); // we use 30s as timeout in many places. private static final TimeValue DISRUPTION_HEALING_OVERHEAD = TimeValue.timeValueSeconds(40); // we use 30s as timeout in many places.