Test: Remove and untrue assertion

Task status might change between list and get.
This commit is contained in:
Nik Everett 2016-06-15 09:02:36 -04:00
parent f32b700472
commit e09b6d7ba1
1 changed files with 1 additions and 1 deletions

View File

@ -380,7 +380,7 @@ public class TasksIT extends ESIntegTestCase {
assertEquals(task.getType(), fetchedWithGet.getType());
assertEquals(task.getAction(), fetchedWithGet.getAction());
assertEquals(task.getDescription(), fetchedWithGet.getDescription());
assertEquals(task.getStatus(), fetchedWithGet.getStatus());
// The status won't always be equal - it might change between the list and the get.
assertEquals(task.getStartTime(), fetchedWithGet.getStartTime());
assertThat(fetchedWithGet.getRunningTimeNanos(), greaterThanOrEqualTo(task.getRunningTimeNanos()));
assertEquals(task.isCancellable(), fetchedWithGet.isCancellable());