diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-10-10 11:25:02 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-10-10 11:25:02 +0200 |
commit | 27bcc7e03be01b200654254af59a20566567ca33 (patch) | |
tree | 63eab384dc0e9027eeab38ceaf487e25a61c25ed /container-search/src/test/java/com/yahoo/vespa | |
parent | 165142127b8d40621fdd29a2fcac74084eeb4d9c (diff) |
Guarantee we always have an executor
Diffstat (limited to 'container-search/src/test/java/com/yahoo/vespa')
-rw-r--r-- | container-search/src/test/java/com/yahoo/vespa/streamingvisitors/VdsStreamingSearcherTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/test/java/com/yahoo/vespa/streamingvisitors/VdsStreamingSearcherTestCase.java b/container-search/src/test/java/com/yahoo/vespa/streamingvisitors/VdsStreamingSearcherTestCase.java index d38c60bf74a..1f074eeae78 100644 --- a/container-search/src/test/java/com/yahoo/vespa/streamingvisitors/VdsStreamingSearcherTestCase.java +++ b/container-search/src/test/java/com/yahoo/vespa/streamingvisitors/VdsStreamingSearcherTestCase.java @@ -157,7 +157,7 @@ public class VdsStreamingSearcherTestCase { } private static Result executeQuery(VdsStreamingSearcher searcher, Query query) { - Execution execution = new Execution(new Execution.Context(null, null, null, null, null, null)); + Execution execution = new Execution(Execution.Context.createContextStub()); return searcher.doSearch2(query, execution); } |