Fix compile due to change in InternalSearchResponse signature

Original commit: elastic/x-pack-elasticsearch@a442dc5efe
This commit is contained in:
Zachary Tong 2015-12-17 16:24:15 -05:00
parent 40b7f97559
commit 9db8c73025
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ public class ScriptConditionSearchTests extends AbstractWatcherIntegrationTestCa
hit.score(1f);
hit.shard(new SearchShardTarget("a", "a", 0));
InternalSearchResponse internalSearchResponse = new InternalSearchResponse(new InternalSearchHits(new InternalSearchHit[]{hit}, 1l, 1f), null, null, false, false);
InternalSearchResponse internalSearchResponse = new InternalSearchResponse(new InternalSearchHits(new InternalSearchHit[]{hit}, 1l, 1f), null, null, null, false, false);
SearchResponse response = new SearchResponse(internalSearchResponse, "", 3, 3, 500l, new ShardSearchFailure[0]);
WatchExecutionContext ctx = mockExecutionContext("_watch_name", new Payload.XContent(response));