()
| 699 | } |
| 700 | |
| 701 | @Test |
| 702 | public void fetchMultigetNoMeta() throws Exception { |
| 703 | setupStorageNoMeta(); |
| 704 | multiget_no_meta = true; |
| 705 | MultiGetQuery mgq = new MultiGetQuery(tsdb, query, METRIC_BYTES, q_tags_nometa, |
| 706 | start_ts, end_ts, tsdb.dataTable(), spans, null, 0, null, query_stats, |
| 707 | 0, max_bytes, false, multiget_no_meta); |
| 708 | |
| 709 | final SortedMap<byte[], Span> results = mgq.fetch().join(); |
| 710 | assertSame(spans, results); |
| 711 | verify(client, times(1)).get(anyList()); |
| 712 | System.out.println(spans); |
| 713 | validateSpansNometa(); |
| 714 | } |
| 715 | |
| 716 | @Test (expected=QueryException.class) |
| 717 | public void fetchMoreThanMaxBytes() throws Exception { |
nothing calls this directly
no test coverage detected