@Override public String deploymentID() { // In Gentics Mesh we use shortened UUIDs instead of the full Uuids. return UUIDUtil.toShortUuid(super.deploymentID()); }
protected void undeployVerticle(TestContext context, AbstractVerticle verticle) { LOGGER.debug("undeploying verticle " + verticle.deploymentID()); Async async = context.async(); vertx.undeploy(verticle.deploymentID(), result -> { if (result.failed()) { LOGGER.error(result.cause()); context.fail(result.cause()); async.complete(); } else { LOGGER.debug("succeeded undeploying verticle " + verticle.deploymentID()); async.complete(); } }); async.awaitSuccess(); LOGGER.debug("finished undeploying verticle " + verticle.deploymentID()); }
protected void undeployVerticle(TestContext context, AbstractVerticle verticle) { LOGGER.debug("undeploying verticle " + verticle.deploymentID()); Async async = context.async(); vertx.undeploy(verticle.deploymentID(), result -> { if (result.failed()) { LOGGER.error(result.cause()); context.fail(result.cause()); async.complete(); } else { LOGGER.debug("succeeded undeploying verticle " + verticle.deploymentID()); async.complete(); } }); async.awaitSuccess(); LOGGER.debug("finished undeploying verticle " + verticle.deploymentID()); }