Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

tweaks to redeployertest and increased timeout for OSX

  • Loading branch information...
commit dfe5fcec4d70a820bc176c756e84876ce84cd00f 1 parent 9a615bb
@purplefox purplefox authored
View
6 vertx-platform/src/main/java/org/vertx/java/deploy/impl/Redeployer.java
@@ -96,6 +96,12 @@ public void handle(Long id) {
public void close() {
vertx.cancelTimer(timerID);
+ Set<Deployment> deps = new HashSet<>();
+ for (Map.Entry<Path, Set<Deployment>> entry: watchedDeployments.entrySet()) {
+ deps.addAll(entry.getValue());
+ }
+ toUndeploy.addAll(deps);
+ processUndeployments();
}
public void moduleDeployed(Deployment deployment) {
View
2  vertx-testsuite/src/test/java/org/vertx/java/tests/core/redeploy/RedeployerTest.java
@@ -224,7 +224,7 @@ void waitReload(Set<Deployment> deps) throws Exception {
if (!reloaded.isEmpty()) {
checkDeps(deps);
} else {
- if (!latch.await(5, TimeUnit.SECONDS)) {
+ if (!latch.await(30000, TimeUnit.SECONDS)) {
throw new IllegalStateException("Time out");
}
checkDeps(deps);
Please sign in to comment.
Something went wrong with that request. Please try again.