Skip to content

Commit

Permalink
Per request phase latency (opensearch-project#10351)
Browse files Browse the repository at this point in the history
Signed-off-by: David Zane <[email protected]>
Signed-off-by: Siddhant Deshmukh <[email protected]>
  • Loading branch information
dzane17 authored and deshsidd committed Oct 19, 2023
1 parent e0a5244 commit f8f35ca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ private SearchRequest mutate(SearchRequest searchRequest) {
);
mutators.add(() -> mutation.source(randomValueOtherThan(searchRequest.source(), this::createSearchSourceBuilder)));
mutators.add(() -> mutation.setCcsMinimizeRoundtrips(searchRequest.isCcsMinimizeRoundtrips() == false));
mutators.add(() -> mutation.setPhaseTook(searchRequest.isPhaseTook() == false));
mutators.add(
() -> mutation.setPhaseTook(searchRequest.isPhaseTook() == null ? randomBoolean() : searchRequest.isPhaseTook() == false)
);
Expand Down

0 comments on commit f8f35ca

Please sign in to comment.