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

Method beforeLocal

test/TestHBaseRpc.java:71–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69 private int default_timeout;
70
71 @Before
72 public void beforeLocal() throws Exception {
73 timer.stop();
74 when(regionclient.getHBaseClient()).thenReturn(client);
75 Whitebox.setInternalState(client, "rpc_timeout", 60000);
76 default_timeout = 60000;
77 }
78
79 @Test
80 public void enqueueTimeout() throws Exception {

Callers

nothing calls this directly

Calls 2

getHBaseClientMethod · 0.80
stopMethod · 0.45

Tested by

no test coverage detected