[TEST] Leave default ping timeouts on tests that don't simulate network failures

Reducing the ping timeouts on a test that does not simulate network failures can cause node disconnects within the test on a slow CI machine.
The test testSearchWithRelocationAndSlowClusterStateProcessing does not expect such disconnects, leading to shard relocation in the test to abort prematurely.
This commit is contained in:
Yannick Welsch 2016-08-11 11:05:38 +02:00
parent c3253130d4
commit a1538de1a1
1 changed files with 2 additions and 1 deletions

View File

@ -1054,7 +1054,8 @@ public class DiscoveryWithServiceDisruptionsIT extends ESIntegTestCase {
* node but already deleted on the source node. Search request should still work.
*/
public void testSearchWithRelocationAndSlowClusterStateProcessing() throws Exception {
configureUnicastCluster(3, null, 1);
// don't use DEFAULT settings (which can cause node disconnects on a slow CI machine)
configureUnicastCluster(Settings.EMPTY, 3, null, 1);
InternalTestCluster.Async<String> masterNodeFuture = internalCluster().startMasterOnlyNodeAsync();
InternalTestCluster.Async<String> node_1Future = internalCluster().startDataOnlyNodeAsync();