()
| 724 | } |
| 725 | |
| 726 | @Test |
| 727 | public void fetchEmptyTable() throws Exception { |
| 728 | setDataPointStorage(); |
| 729 | spans = new TreeMap<byte[], Span>(new TsdbQuery.SpanCmp(TSDB.metrics_width())); |
| 730 | MultiGetQuery mgq = new MultiGetQuery(tsdb, query, METRIC_BYTES, q_tags, |
| 731 | start_ts, end_ts, tsdb.dataTable(), spans, null, 0, null, query_stats, |
| 732 | 0, max_bytes, false, multiget_no_meta); |
| 733 | |
| 734 | final SortedMap<byte[], Span> results = mgq.fetch().join(); |
| 735 | assertSame(spans, results); |
| 736 | assertTrue(spans.isEmpty()); |
| 737 | verify(client, times(1)).get(anyList()); |
| 738 | } |
| 739 | |
| 740 | @Test |
| 741 | public void fetchSmallBatch() throws Exception { |
nothing calls this directly
no test coverage detected