()
| 738 | } |
| 739 | |
| 740 | @Test |
| 741 | public void fetchSmallBatch() throws Exception { |
| 742 | setupStorage(); |
| 743 | config.overrideConfig("tsd.query.multi_get.batch_size", "16"); |
| 744 | |
| 745 | MultiGetQuery mgq = new MultiGetQuery(tsdb, query, METRIC_BYTES, q_tags, |
| 746 | start_ts, end_ts, tsdb.dataTable(), spans, null, 0, null, query_stats, |
| 747 | 0, max_bytes, false, multiget_no_meta); |
| 748 | |
| 749 | final SortedMap<byte[], Span> results = mgq.fetch().join(); |
| 750 | assertSame(spans, results); |
| 751 | verify(client, times(4)).get(anyList()); |
| 752 | validateSpans(); |
| 753 | } |
| 754 | |
| 755 | @Test |
| 756 | public void fetchSmallBatchAndSmallConcurrent() throws Exception { |
nothing calls this directly
no test coverage detected