Merge pull request #1511 from pjain1/remove_test

remove flaky overlord test
This commit is contained in:
Himanshu 2015-07-13 18:38:34 -05:00
commit e2ddfb7a1a
1 changed files with 0 additions and 4 deletions

View File

@ -222,10 +222,6 @@ public class OverlordResourceTest
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