Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Timing issues in SI test suites
  • Loading branch information
timf committed Jun 13, 2011
1 parent 0b50fa8 commit 129cfbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Expand Up @@ -340,7 +340,7 @@
<property name="sshIdentityFile" value="$SSH{use.identity}" />

<!-- defaults -->
<property name="sweeperDelay" value="6000" /> <!-- ms -->
<property name="sweeperDelay" value="2000" /> <!-- ms -->
<property name="threadPoolInitialSize" value="5" />
<property name="threadPoolMaxSize" value="50" />

Expand Down
Expand Up @@ -422,7 +422,10 @@ public void singleRequest() throws Exception {
assertEquals(1, cancelledBackfillReqs.length);
assertEquals(RequestState.STATE_Canceled, cancelledBackfillReqs[0].getState().getStateStr());
assertEquals(backfillResult.getRequestID(), cancelledBackfillReqs[0].getRequestID());


logger.debug("Waiting for termination.");
Thread.sleep(2100);

//Check backfill request state
RequestInfo backfillReq = rm.getBackfillRequest(backfillResult.getRequestID(), superuser);
assertEquals(0, backfillReq.getVMIds().length);
Expand Down

0 comments on commit 129cfbb

Please sign in to comment.