protected void takeDeploymentSnapshots() { for (int i = 0; i < vertices.length; i++) { VertxInternal v = (VertxInternal) vertices[i]; if (!v.isKilled()) { deploymentSnapshots[i] = takeDeploymentSnapshot(i); } } }
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); }