()
| 491 | } |
| 492 | |
| 493 | @Test (expected = DeferredGroupException.class) |
| 494 | public void getLastPointMetricNSUNTagk() throws Exception { |
| 495 | tags.clear(); |
| 496 | tags.put(NSUN_TAGK, TAGV_STRING); |
| 497 | Whitebox.setInternalState(config, "enable_tsuid_incrementing", false); |
| 498 | Whitebox.setInternalState(config, "enable_realtime_ts", false); |
| 499 | |
| 500 | PowerMockito.mockStatic(DateTime.class); |
| 501 | PowerMockito.when(DateTime.currentTimeMillis()).thenReturn(1356998400000L); |
| 502 | query = new TSUIDQuery(tsdb, METRIC_STRING, tags); |
| 503 | query.getLastPoint(false, 0).join(); |
| 504 | } |
| 505 | |
| 506 | @Test (expected = DeferredGroupException.class) |
| 507 | public void getLastPointMetricNSUNTagv() throws Exception { |
nothing calls this directly
no test coverage detected