Skip to content
This repository has been archived by the owner on Jun 22, 2018. It is now read-only.

Commit

Permalink
Merge pull request #60 from ContainerSolutions/bug/59-HamcrestDependency
Browse files Browse the repository at this point in the history
Fixes 59 - Hamcrest dependency
  • Loading branch information
Phil Winder committed Sep 8, 2015
2 parents 096d3fb + 08ff958 commit 2480dfa
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -8,7 +8,6 @@
import java.util.concurrent.TimeUnit;

import static com.jayway.awaitility.Awaitility.await;
import static org.hamcrest.CoreMatchers.is;

public class MesosClusterStateResponse implements Callable<Boolean> {
private final Logger LOGGER = Logger.getLogger(MesosClusterStateResponse.class);
Expand Down Expand Up @@ -43,7 +42,7 @@ public void waitFor() {
await()
.atMost(60, TimeUnit.SECONDS)
.pollInterval(1, TimeUnit.SECONDS)
.until(this, is(true));
.until(this);

LOGGER.debug("MesosMaster state discovered successfully");
}
Expand Down

0 comments on commit 2480dfa

Please sign in to comment.