use of org.jboss.tools.openshift.reddeer.condition.AmountOfResourcesExists in project jbosstools-openshift by jbosstools.
the class DeleteResourceTest method waitForApplication.
@BeforeClass
public static void waitForApplication() {
new WaitUntil(new OpenShiftResourceExists(Resource.BUILD, "eap-app-1", ResourceState.COMPLETE, projectReq.getProjectName(), connectionReq.getConnection()), TimePeriod.getCustom(600), true);
new WaitUntil(new AmountOfResourcesExists(Resource.POD, 2, projectReq.getProjectName(), connectionReq.getConnection()), TimePeriod.VERY_LONG, true);
}
Aggregations