File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
modules/lang-mustache/src/test/java/org/elasticsearch/script/mustache Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ protected SearchTemplateRequest mutateInstance(SearchTemplateRequest instance) t
5353 mutators .add (request -> request .setExplain (!request .isExplain ()));
5454 mutators .add (request -> request .setSimulate (!request .isSimulate ()));
5555
56- mutators .add (request -> request .setRequest (
57- RandomSearchRequestGenerator .randomSearchRequest (SearchSourceBuilder ::searchSource )));
56+ mutators .add (request -> request .setRequest (randomValueOtherThan ( request . getRequest (),
57+ () -> RandomSearchRequestGenerator .randomSearchRequest (SearchSourceBuilder ::searchSource ) )));
5858
5959 SearchTemplateRequest mutatedInstance = copyInstance (instance );
6060 Consumer <SearchTemplateRequest > mutator = randomFrom (mutators );
You can’t perform that action at this time.
0 commit comments