Permalink
Browse files

Timing issues in SI test suites

  • Loading branch information...
timf committed Jun 13, 2011
1 parent 0b50fa8 commit 129cfbb85dc6ab02aac27174cc9316dd8ee847a5
@@ -340,7 +340,7 @@
<property name="sshIdentityFile" value="$SSH{use.identity}" /> <property name="sshIdentityFile" value="$SSH{use.identity}" />
<!-- defaults --> <!-- defaults -->
<property name="sweeperDelay" value="6000" /> <!-- ms --> <property name="sweeperDelay" value="2000" /> <!-- ms -->
<property name="threadPoolInitialSize" value="5" /> <property name="threadPoolInitialSize" value="5" />
<property name="threadPoolMaxSize" value="50" /> <property name="threadPoolMaxSize" value="50" />
@@ -422,7 +422,10 @@ public void singleRequest() throws Exception {
assertEquals(1, cancelledBackfillReqs.length); assertEquals(1, cancelledBackfillReqs.length);
assertEquals(RequestState.STATE_Canceled, cancelledBackfillReqs[0].getState().getStateStr()); assertEquals(RequestState.STATE_Canceled, cancelledBackfillReqs[0].getState().getStateStr());
assertEquals(backfillResult.getRequestID(), cancelledBackfillReqs[0].getRequestID()); assertEquals(backfillResult.getRequestID(), cancelledBackfillReqs[0].getRequestID());
logger.debug("Waiting for termination.");
Thread.sleep(2100);
//Check backfill request state //Check backfill request state
RequestInfo backfillReq = rm.getBackfillRequest(backfillResult.getRequestID(), superuser); RequestInfo backfillReq = rm.getBackfillRequest(backfillResult.getRequestID(), superuser);
assertEquals(0, backfillReq.getVMIds().length); assertEquals(0, backfillReq.getVMIds().length);

0 comments on commit 129cfbb

Please sign in to comment.