diff options
author | Jon Bratseth <bratseth@gmail.com> | 2022-03-31 10:00:17 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2022-03-31 10:00:17 +0200 |
commit | bc957f4d0196c043485b157c293b1163bc963b68 (patch) | |
tree | 1fff6893f12be15bcd845ac2233a2ef7350a339c /container-search/src/test/java/com/yahoo/search/test | |
parent | 0ce79641b9c8bb4cb12ecd1a61b052e4c4742efe (diff) |
Slightly more validation
Diffstat (limited to 'container-search/src/test/java/com/yahoo/search/test')
-rw-r--r-- | container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java b/container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java index a4fd37145c8..56acdb039a9 100644 --- a/container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java +++ b/container-search/src/test/java/com/yahoo/search/test/QueryTestCase.java @@ -360,7 +360,7 @@ public class QueryTestCase { @Test public void testTimeoutInRequestOverridesQueryProfile() { QueryProfile profile = new QueryProfile("test"); - profile.set("timeout", 318, (QueryProfileRegistry)null); + profile.set("timeout", 318, null); Query q = new Query(QueryTestCase.httpEncode("/search?timeout=500"), profile.compile(null)); assertEquals(500000L, q.getTimeout()); } |