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

Method getDeferredRoot

test/TestZKClient.java:145–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

143 }
144
145 @Test
146 public void getDeferredRoot() throws Exception {
147 final Deferred<Object> root = zk_client.getDeferredRoot();
148 deferred_rootregion =
149 Whitebox.getInternalState(zk_client, "deferred_rootregion");
150 assertNotNull(root);
151 assertNotNull(deferred_rootregion);
152 assertEquals(1, deferred_rootregion.size());
153 verifyPrivate(zk_client).invoke("connectZK");
154 }
155
156 @Test
157 public void getDeferredRootAdd() throws Exception {

Callers 12

beforeMethod · 0.45
beforeLocalMethod · 0.45
locateRegionEmptyKeyMethod · 0.45
getDeferredRootAddMethod · 0.45
disconnectZKMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected