MCPcopy Create free account
hub / github.com/OpenTSDB/asynchbase / tooManyAttemptsNullException

Method tooManyAttemptsNullException

test/TestHBaseClient.java:339–354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

337 }
338
339 @Test
340 public void tooManyAttemptsNullException() throws Exception {
341 final HBaseRpc rpc = getMockHBaseRpc(null);
342 rpc.attempt = (byte) (10 + 1);
343 final Deferred<Object> error = HBaseClient.tooManyAttempts(rpc, null);
344 assertNotNull(error);
345 NonRecoverableException ex = null;
346 try {
347 error.joinUninterruptibly();
348 } catch (NonRecoverableException e) {
349 ex = e;
350 }
351 assertNotNull(ex);
352 assertTrue(ex instanceof NonRecoverableException);
353 assertNull(ex.getCause());
354 }
355
356 @Test
357 public void knownToBeNSREdFalse() throws Exception {

Callers

nothing calls this directly

Calls 2

tooManyAttemptsMethod · 0.95
getMockHBaseRpcMethod · 0.80

Tested by

no test coverage detected