MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / parseQueryMTypeWDSAndFill

Method parseQueryMTypeWDSAndFill

test/tsd/TestQueryRpc.java:159–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 @Test
160 public void parseQueryMTypeWDSAndFill() throws Exception {
161 HttpQuery query = NettyMocks.getQuery(tsdb,
162 "/api/query?start=1h-ago&m=sum:1h-avg-lerp:sys.cpu.0");
163 TSQuery tsq = (TSQuery) parseQuery.invoke(rpc, tsdb, query, expressions);
164 TSSubQuery sub = tsq.getQueries().get(0);
165 assertEquals("1h-avg-lerp", sub.getDownsample());
166 }
167
168 @Test
169 public void parseQueryMTypeWRateAndDS() throws Exception {

Callers

nothing calls this directly

Calls 4

getQueryMethod · 0.95
getQueriesMethod · 0.95
getDownsampleMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected