MCPcopy Index your code
hub / github.com/OpenTSDB/asynchbase / handleRootZnode90Commas

Method handleRootZnode90Commas

test/TestZKClient.java:700–708  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

698 }
699
700 @Test
701 public void handleRootZnode90Commas() throws Exception {
702 final ZKCallback cb = zk_client.new ZKCallback();
703 final byte[] data = "127.0.0.1,50511".getBytes(CHARSET);
704 final RegionClient rc = cb.handleRootZnode(data);
705 assertNotNull(rc);
706 assertEquals("127.0.0.1:50511", rc.getRemoteAddress());
707 verifyPrivate(client).invoke("newClient", "127.0.0.1", 50511);
708 }
709
710 @Test
711 public void handleRootZnode90Resolve() throws Exception {

Callers

nothing calls this directly

Calls 2

handleRootZnodeMethod · 0.95
getRemoteAddressMethod · 0.95

Tested by

no test coverage detected