Skip to content

Commit

Permalink
remove flaky overlord test
Browse files Browse the repository at this point in the history
  • Loading branch information
Parag Jain committed Jul 13, 2015
1 parent 55c4fe6 commit 59dec89
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,10 +222,6 @@ public void testOverlordResource() throws Exception
NoopTask task_1 = new NoopTask(taskId_1, 0, 0, null, null);
taskStorage.insert(task_1, TaskStatus.running(taskId_1));

response = overlordResource.getWaitingTasks();
// 1 task that was manually inserted should be in waiting state
Assert.assertEquals(1, (((List) response.getEntity()).size()));

// Simulate completion of task_1
taskCountDownLatches[Integer.parseInt(taskId_1)].countDown();
// Wait for taskQueue to handle success status of task_1
Expand Down

0 comments on commit 59dec89

Please sign in to comment.