aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/java/com/yahoo/search/query
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-03-28 16:12:40 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2023-03-28 17:42:10 +0200
commit46fee0b7694db400a73f2a4e53846a9047c9cd2a (patch)
tree8d04cfb1b402839ed798661b23e307e0924c7989 /container-search/src/test/java/com/yahoo/search/query
parent3b67ce3460a1758232a0ede6ac28377dc16ab732 (diff)
Test both with and without QueryProfile
Diffstat (limited to 'container-search/src/test/java/com/yahoo/search/query')
-rw-r--r--container-search/src/test/java/com/yahoo/search/query/profile/test/QueryProfileTestCase.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/query/profile/test/QueryProfileTestCase.java b/container-search/src/test/java/com/yahoo/search/query/profile/test/QueryProfileTestCase.java
index 1a4ef7b7d62..4d3826bbae7 100644
--- a/container-search/src/test/java/com/yahoo/search/query/profile/test/QueryProfileTestCase.java
+++ b/container-search/src/test/java/com/yahoo/search/query/profile/test/QueryProfileTestCase.java
@@ -663,13 +663,13 @@ public class QueryProfileTestCase {
"ne=true", Method.GET);
for (int i = 0; i < 30000; i++) {
Query q = new Query(httpRequest, cqp);
- assertTrue(q.properties().getBoolean("clustering.timeline", false));
+ assertTrue(q.properties().getBoolean(CompoundName.of("clustering.timeline"), false));
}
Thread.sleep(2000);
long start = System.nanoTime();
for (int i = 0; i < 100000; i++) {
Query q = new Query(httpRequest, cqp);
- assertTrue(q.properties().getBoolean("clustering.timeline", false));
+ assertTrue(q.properties().getBoolean(CompoundName.of("clustering.timeline"), false));
}
long now = System.nanoTime();
System.out.println("Duration = " + (now - start)/1_000_000 + " ms");