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

Commit

Permalink
Fixes 59 - Hamcrest dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Winder committed Sep 8, 2015
1 parent 096d3fb commit 08ff958
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
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 08ff958

Please sign in to comment.