| 221 | } |
| 222 | |
| 223 | @Test |
| 224 | public void getTSMetasSingle() throws Exception { |
| 225 | query = new TSUIDQuery(tsdb, METRIC_STRING, tags); |
| 226 | final List<TSMeta> tsmetas = query.getTSMetas().joinUninterruptibly(); |
| 227 | assertEquals(1, tsmetas.size()); |
| 228 | assertEquals(METRIC_STRING, tsmetas.get(0).getMetric().getName()); |
| 229 | assertEquals(TAGK_STRING, tsmetas.get(0).getTags().get(0).getName()); |
| 230 | assertEquals(TAGV_STRING, tsmetas.get(0).getTags().get(1).getName()); |
| 231 | } |
| 232 | |
| 233 | @Test |
| 234 | public void getTSMetasSingleSetQuery() throws Exception { |