Esempio n. 1
0
 @Test(expected = UnsupportedOperationException.class)
 public void testLocalHostId() {
   // first ID should be localhost
   ss.removeNode(hostIds.get(0).toString());
 }
Esempio n. 2
0
 @Test(expected = UnsupportedOperationException.class)
 public void testBadHostId() {
   ss.removeNode("ffffffff-aaaa-aaaa-aaaa-ffffffffffff");
 }