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

Method parseQueryMTypeWDS

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

Source from the content-addressed store, hash-verified

148 }
149
150 @Test
151 public void parseQueryMTypeWDS() throws Exception {
152 HttpQuery query = NettyMocks.getQuery(tsdb,
153 "/api/query?start=1h-ago&m=sum:1h-avg:sys.cpu.0");
154 TSQuery tsq = (TSQuery) parseQuery.invoke(rpc, tsdb, query, expressions);
155 TSSubQuery sub = tsq.getQueries().get(0);
156 assertEquals("1h-avg", sub.getDownsample());
157 }
158
159 @Test
160 public void parseQueryMTypeWDSAndFill() 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