From 6a92a3555c48d4a7a77b1e457657f61c08e104ee Mon Sep 17 00:00:00 2001 From: markharwood Date: Thu, 23 Aug 2018 14:52:01 +0100 Subject: [PATCH] Test fix - GraphExploreResponseTests should not randomise array elements Closes #33086 --- .../protocol/xpack/graph/GraphExploreResponseTests.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/x-pack/protocol/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java b/x-pack/protocol/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java index 74b434581788d..302aaa2489de0 100644 --- a/x-pack/protocol/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java +++ b/x-pack/protocol/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java @@ -74,6 +74,11 @@ private static GraphExploreResponse createInstance(int numFailures) { } + @Override + protected String[] getShuffleFieldsExceptions() { + return new String[]{"vertices"}; + } + private static GraphExploreResponse createTestInstanceWithFailures() { return createInstance(randomIntBetween(1, 128)); }