From e95c2afe3c20da62a71c6deefbf9ecbac5f9be6a Mon Sep 17 00:00:00 2001 From: markharwood Date: Wed, 29 Aug 2018 15:19:26 +0100 Subject: [PATCH] Test fix - Graph HLRC tests needed another field adding to randomisation exception list Related to #33231 --- .../protocol/xpack/graph/GraphExploreResponseTests.java | 2 +- .../protocol/xpack/graph/GraphExploreResponseTests.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java index cfdd23aee74f2..9f0f414569540 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java @@ -76,7 +76,7 @@ protected boolean supportsUnknownFields() { @Override protected String[] getShuffleFieldsExceptions() { - return new String[]{"vertices"}; + return new String[]{"vertices", "connections"}; } protected Predicate getRandomFieldsExcludeFilterWhenResultHasErrors() { 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 a0efb7b3433a1..9c4a76fdcecf1 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 @@ -89,7 +89,7 @@ protected boolean supportsUnknownFields() { @Override protected String[] getShuffleFieldsExceptions() { - return new String[]{"vertices"}; + return new String[]{"vertices", "connections"}; } protected Predicate getRandomFieldsExcludeFilterWhenResultHasErrors() {