()
| 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 { |
nothing calls this directly
no test coverage detected