diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-03-29 09:29:36 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2023-03-29 09:29:36 +0200 |
commit | 66a521195313c4bb7bb24616667be426c946327f (patch) | |
tree | d7856e91f237ea85452b14460e6d7805cf363196 /container-search/src/test/java/com/yahoo/search/query | |
parent | f40248518010e55335925d13aeb5539da441fa78 (diff) |
Stay with from.
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.java | 4 |
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 4d3826bbae7..cd4cb32df2e 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(CompoundName.of("clustering.timeline"), false)); + assertTrue(q.properties().getBoolean(CompoundName.from("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(CompoundName.of("clustering.timeline"), false)); + assertTrue(q.properties().getBoolean(CompoundName.from("clustering.timeline"), false)); } long now = System.nanoTime(); System.out.println("Duration = " + (now - start)/1_000_000 + " ms"); |