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

Method handleRootZnode90NegativePort

test/TestZKClient.java:739–744  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

737 }
738
739 @Test (expected = NumberFormatException.class)
740 public void handleRootZnode90NegativePort() throws Exception {
741 final ZKCallback cb = zk_client.new ZKCallback();
742 final byte[] data = "127.0.0.1:-1024".getBytes(CHARSET);
743 cb.handleRootZnode(data);
744 }
745
746 @Test (expected = NumberFormatException.class)
747 public void handleRootZnode90PortToBig() throws Exception {

Callers

nothing calls this directly

Calls 1

handleRootZnodeMethod · 0.95

Tested by

no test coverage detected