MCPcopy Create free account
hub / github.com/OpenTSDB/opentsdb / fetchRuleDoesNotExist

Method fetchRuleDoesNotExist

test/tree/TestTreeRule.java:204–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

202 }
203
204 @Test
205 public void fetchRuleDoesNotExist() throws Exception {
206 setupStorage();
207 final TreeRule rule = TreeRule.fetchRule(storage.getTSDB(), 1, 2, 2)
208 .joinUninterruptibly();
209 assertNull(rule);
210 }
211
212 @Test (expected = IllegalArgumentException.class)
213 public void fetchRuleBadTreeID0() throws Exception {

Callers

nothing calls this directly

Calls 3

setupStorageMethod · 0.95
fetchRuleMethod · 0.95
getTSDBMethod · 0.80

Tested by

no test coverage detected