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

Method timeoutAlreadyTimedout

test/TestHBaseRpc.java:292–299  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290 }
291
292 @Test (expected = IllegalStateException.class)
293 public void timeoutAlreadyTimedout() throws Exception {
294 final GetRequest rpc = new GetRequest(TABLE, KEY, FAMILY);
295 rpc.enqueueTimeout(regionclient);
296 timer.tasks.get(0).getKey().run(rpc.timeout_handle);
297 // better not happen
298 timer.tasks.get(0).getKey().run(rpc.timeout_handle);
299 }
300
301 @Test
302 public void timeoutDifferentHandle() throws Exception {

Callers

nothing calls this directly

Calls 3

enqueueTimeoutMethod · 0.45
runMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected