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

Commit

Permalink
These tests need to wait longer to account for preemption tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
timf committed Jun 13, 2011
1 parent d48ff79 commit db32503
Showing 1 changed file with 5 additions and 5 deletions.
Expand Up @@ -1056,7 +1056,7 @@ public void multipleSIRequestsOnly() throws Exception {
// Spot price: MINIMUM_PRICE // Spot price: MINIMUM_PRICE


logger.debug("Waiting 2 seconds for resources to be pre-empted."); logger.debug("Waiting 2 seconds for resources to be pre-empted.");
Thread.sleep(2000); Thread.sleep(2000);


//Check backfill request state //Check backfill request state
backfillRequestsByCaller = rm.getBackfillRequestsByCaller(superuser); backfillRequestsByCaller = rm.getBackfillRequestsByCaller(superuser);
Expand Down Expand Up @@ -1305,8 +1305,8 @@ public void mixedSIandWSrequests() throws Exception {
// Requested SI VMs (alive requests): 7 (1 from lowReq1 was closed) // Requested SI VMs (alive requests): 7 (1 from lowReq1 was closed)
// Spot price: lowBid (previousPrice+1) // Spot price: lowBid (previousPrice+1)


logger.debug("Waiting 2 seconds for resources to be pre-empted."); logger.debug("Waiting 4 seconds for resources to be pre-empted.");
Thread.sleep(2000); Thread.sleep(4000);


//Check available SI VMs //Check available SI VMs
assertEquals(6, getAvailableResources()); assertEquals(6, getAvailableResources());
Expand Down Expand Up @@ -1347,8 +1347,8 @@ public void mixedSIandWSrequests() throws Exception {
// Requested SI VMs (alive requests): 6 (2 from lowReq1 were closed) // Requested SI VMs (alive requests): 6 (2 from lowReq1 were closed)
// Spot price: lowBid (previousPrice+1) // Spot price: lowBid (previousPrice+1)


logger.debug("Waiting 2 seconds for SI VMs to be pre-empted."); logger.debug("Waiting 4 seconds for SI VMs to be pre-empted.");
Thread.sleep(2000); Thread.sleep(4000);


//Check available SI VMs //Check available SI VMs
assertEquals(4, getAvailableResources()); assertEquals(4, getAvailableResources());
Expand Down

0 comments on commit db32503

Please sign in to comment.