()
| 504 | } |
| 505 | |
| 506 | @Test (expected = DeferredGroupException.class) |
| 507 | public void getLastPointMetricNSUNTagv() throws Exception { |
| 508 | tags.put(TAGK_STRING, NSUN_TAGV); |
| 509 | Whitebox.setInternalState(config, "enable_tsuid_incrementing", false); |
| 510 | Whitebox.setInternalState(config, "enable_realtime_ts", false); |
| 511 | |
| 512 | PowerMockito.mockStatic(DateTime.class); |
| 513 | PowerMockito.when(DateTime.currentTimeMillis()).thenReturn(1356998400000L); |
| 514 | query = new TSUIDQuery(tsdb, METRIC_STRING, tags); |
| 515 | query.getLastPoint(false, 0).join(); |
| 516 | } |
| 517 | |
| 518 | @Test (expected = IllegalArgumentException.class) |
| 519 | public void getLastPointMetricEmptyTags() throws Exception { |
nothing calls this directly
no test coverage detected