Ejemplo n.º 1
0
 protected void kill(int pos) {
   // Save the deploymentIDs first
   takeDeploymentSnapshots();
   VertxInternal v = (VertxInternal) vertices[pos];
   killedNode = pos;
   v.executeBlocking(
       fut -> {
         v.simulateKill();
         fut.complete();
       },
       ar -> {
         assertTrue(ar.succeeded());
       });
 }