Permalink
Browse files

tweaks to redeployertest and increased timeout for OSX

  • Loading branch information...
1 parent 9a615bb commit dfe5fcec4d70a820bc176c756e84876ce84cd00f @purplefox purplefox committed Aug 9, 2012
@@ -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) {
@@ -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);

0 comments on commit dfe5fce

Please sign in to comment.