@Test
    void testTimeoutWithGrouping() {
        var select = "select x, y, z from sources * "
                + "where (x > 0 AND y contains \"foo\" AND z contains \"bar\") "
                + "order by x limit 20 offset 10 timeout 30 "
                + "| all(group(y) max(3) each(output(count())))";
        Query query = new Query("search/?yql=" + URLEncoder.encode(select, Charsets.UTF_8));
        execution.search(query);

        assertEquals(10, query.getHits());
        assertEquals(10, query.getOffset());
        assertEquals(30, query.getTimeout());

        var parsed = query.yqlRepresentation(true);
        assertEquals(select, parsed);
    }
Smoke test for first generation YQL+ integration.
container-search/src/test/java/com/yahoo/search/yql/MinimalQueryInserterTestCase.java