Test fix - GraphExploreResponseTests should not randomise array elements

Closes #33086
This commit is contained in:
markharwood 2018-08-23 15:00:30 +01:00
parent f3cfd4504f
commit f860e589a6

View File

@ -87,6 +87,11 @@ public class GraphExploreResponseTests extends AbstractXContentTestCase< GraphEx
protected boolean supportsUnknownFields() {
return true;
}
@Override
protected String[] getShuffleFieldsExceptions() {
return new String[]{"vertices"};
}
protected Predicate<String> getRandomFieldsExcludeFilterWhenResultHasErrors() {
return field -> field.startsWith("responses");