Skip to content

Commit

Permalink
Test fix - GraphExploreResponseTests should not randomise array elements
Browse files Browse the repository at this point in the history
Closes #33086
  • Loading branch information
markharwood committed Aug 23, 2018
1 parent f3cfd45 commit f860e58
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ protected GraphExploreResponse doParseInstance(XContentParser parser) throws IO
protected boolean supportsUnknownFields() {
return true;
}

@Override
protected String[] getShuffleFieldsExceptions() {
return new String[]{"vertices"};
}

protected Predicate<String> getRandomFieldsExcludeFilterWhenResultHasErrors() {
return field -> field.startsWith("responses");
Expand Down

0 comments on commit f860e58

Please sign in to comment.