Mute ShrinkIndexIT.testCreateShrinkIndexToN on Windows

Relates: #33857
This commit is contained in:
Tim Vernum 2018-09-20 18:20:13 +10:00
parent b1cc58e425
commit 8d50c10208
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ import org.apache.lucene.search.Sort;
import org.apache.lucene.search.SortField;
import org.apache.lucene.search.SortedSetSelector;
import org.apache.lucene.search.SortedSetSortField;
import org.apache.lucene.util.Constants;
import org.elasticsearch.Version;
import org.elasticsearch.action.admin.cluster.reroute.ClusterRerouteResponse;
import org.elasticsearch.action.admin.cluster.state.ClusterStateRequest;
@ -81,6 +82,7 @@ public class ShrinkIndexIT extends ESIntegTestCase {
}
public void testCreateShrinkIndexToN() {
assumeFalse("Broken on windows - https://github.com/elastic/elasticsearch/issues/33857", Constants.WINDOWS);
int[][] possibleShardSplits = new int[][] {{8,4,2}, {9, 3, 1}, {4, 2, 1}, {15,5,1}};
int[] shardSplits = randomFrom(possibleShardSplits);
assertEquals(shardSplits[0], (shardSplits[0] / shardSplits[1]) * shardSplits[1]);