()
| 573 | } |
| 574 | |
| 575 | @Test |
| 576 | public void scannerException() throws Exception { |
| 577 | storeLongTimeSeriesSeconds(true, false); |
| 578 | final RuntimeException ex = new RuntimeException("Boo!"); |
| 579 | storage.throwException(MockBase.stringToBytes( |
| 580 | "00000150E22700000001000001"), ex, true); |
| 581 | |
| 582 | storage.dumpToSystemOut(); |
| 583 | query.setStartTime(1356998400); |
| 584 | query.setEndTime(1357041600); |
| 585 | query.setTimeSeries(METRIC_STRING, tags, Aggregators.SUM, false); |
| 586 | try { |
| 587 | query.run(); |
| 588 | fail("Expected a RuntimeException"); |
| 589 | } catch (RuntimeException e) { |
| 590 | assertSame(ex, e); |
| 591 | } |
| 592 | } |
| 593 | |
| 594 | @Test |
| 595 | public void needsSplittingReturnsFalseIfDisabled() { |
nothing calls this directly
no test coverage detected