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

Method handleMetaZnodeMissingMeta

test/TestZKClient.java:1119–1128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1117 }
1118
1119 @Test
1120 public void handleMetaZnodeMissingMeta() throws Exception {
1121 final ZKCallback cb = zk_client.new ZKCallback();
1122 final byte[] string = "127.0.0.1,50511,1388534400000".getBytes(CHARSET);
1123 final byte[] data = new byte[string.length + 1];
1124 data[0] = ZKCallback.MAGIC;
1125 System.arraycopy(string, 0, data, 1, string.length);
1126
1127 assertNull(cb.handleMetaZnode(data));
1128 }
1129
1130 @Test
1131 public void handleMetaZnodeEmptyMeta() throws Exception {

Callers

nothing calls this directly

Calls 1

handleMetaZnodeMethod · 0.95

Tested by

no test coverage detected