浏览代码

Test fix - Graph HLRC tests needed another field adding to randomisation exception list

Related to #33231
markharwood 7 年之前
父节点
当前提交
e95c2afe3c

+ 1 - 1
x-pack/plugin/core/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java

@@ -76,7 +76,7 @@ public class GraphExploreResponseTests extends AbstractXContentTestCase< GraphEx
 
     @Override
     protected String[] getShuffleFieldsExceptions() {
-        return new String[]{"vertices"};
+        return new String[]{"vertices", "connections"};
     }    
 
     protected Predicate<String> getRandomFieldsExcludeFilterWhenResultHasErrors() {

+ 1 - 1
x-pack/protocol/src/test/java/org/elasticsearch/protocol/xpack/graph/GraphExploreResponseTests.java

@@ -89,7 +89,7 @@ public class GraphExploreResponseTests extends AbstractXContentTestCase< GraphEx
     
     @Override
     protected String[] getShuffleFieldsExceptions() {
-        return new String[]{"vertices"};
+        return new String[]{"vertices", "connections"};
     }    
 
     protected Predicate<String> getRandomFieldsExcludeFilterWhenResultHasErrors() {