summaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorn.christian@seime.no>2017-03-02 15:42:26 +0100
committerGitHub <noreply@github.com>2017-03-02 15:42:26 +0100
commita4564ac876ba72234c7e0a5d46301019ecdd9a69 (patch)
tree36502582559c0b5670d3a0fcf8143e8d181b88e4 /container-search/src/test/java/com/yahoo
parent691619571a51f05af67d17a006a153852cfe01d6 (diff)
Revert "Store streaming stats in query instead of query context"
Diffstat (limited to 'container-search/src/test/java/com/yahoo')
-rw-r--r--container-search/src/test/java/com/yahoo/vespa/streamingvisitors/MetricsSearcherTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/test/java/com/yahoo/vespa/streamingvisitors/MetricsSearcherTestCase.java b/container-search/src/test/java/com/yahoo/vespa/streamingvisitors/MetricsSearcherTestCase.java
index fab132c78b3..1fe62c2cd35 100644
--- a/container-search/src/test/java/com/yahoo/vespa/streamingvisitors/MetricsSearcherTestCase.java
+++ b/container-search/src/test/java/com/yahoo/vespa/streamingvisitors/MetricsSearcherTestCase.java
@@ -132,9 +132,9 @@ public class MetricsSearcherTestCase {
private void assignContextProperties(Query query, String loadType) {
if (loadType != null && loadType.equals(LOADTYPE1)) {
- query.properties().set(VdsStreamingSearcher.STREAMING_STATISTICS, visitorStats);
+ query.getContext(true).setProperty(VdsStreamingSearcher.STREAMING_STATISTICS, visitorStats);
} else {
- query.properties().set(VdsStreamingSearcher.STREAMING_STATISTICS, null);
+ query.getContext(true).setProperty(VdsStreamingSearcher.STREAMING_STATISTICS, null);
}
}
}