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

Method handleRootZnode91

test/TestZKClient.java:753–761  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

751 }
752
753 @Test
754 public void handleRootZnode91() throws Exception {
755 final ZKCallback cb = zk_client.new ZKCallback();
756 final byte[] data = "127.0.0.1,50511,1388534400000".getBytes(CHARSET);
757 final RegionClient rc = cb.handleRootZnode(data);
758 assertNotNull(rc);
759 assertEquals("127.0.0.1:50511", rc.getRemoteAddress());
760 verifyPrivate(client).invoke("newClient", "127.0.0.1", 50511);
761 }
762
763 @Test (expected = NumberFormatException.class)
764 public void handleRootZnode91Colons() throws Exception {

Callers

nothing calls this directly

Calls 2

handleRootZnodeMethod · 0.95
getRemoteAddressMethod · 0.95

Tested by

no test coverage detected