Exemplo n.º 1
0
 protected void takeDeploymentSnapshots() {
   for (int i = 0; i < vertices.length; i++) {
     VertxInternal v = (VertxInternal) vertices[i];
     if (!v.isKilled()) {
       deploymentSnapshots[i] = takeDeploymentSnapshot(i);
     }
   }
 }
Exemplo n.º 2
0
 protected void checkDeployments() {
   int totalDeployed = 0;
   for (int i = 0; i < vertices.length; i++) {
     VertxInternal v = (VertxInternal) vertices[i];
     if (!v.isKilled()) {
       totalDeployed += checkHasDeployments(i, i);
     }
   }
   assertEquals(totDeployed, totalDeployed);
 }