Cook icon indicating copy to clipboard operation
Cook copied to clipboard

ExecutorTest.test_manage_task_random_binary_output sometimes fails

Open dposada opened this issue 7 years ago • 0 comments

For example:

tests/test_executor.py:569: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
tests/test_executor.py:379: in manage_task_runner
    assertions_fn(driver, task_id, sandbox_directory)
tests/test_executor.py:547: in assertions
    tu.assert_statuses(self, expected_statuses, driver.statuses)
tests/utils.py:92: in assert_statuses
    assert_status(test_case, expected_status, actual_status)
tests/utils.py:58: in assert_status
    test_case.assertEqual(expected_status, actual_status)
E   AssertionError: {'task_id': {'value': '285398'}, 'state': 'TASK_FINISHED'} != {'state': 'TASK_KILLED', 'task_id': {'value': '285398'}}
E   - {'state': 'TASK_FINISHED', 'task_id': {'value': '285398'}}
E   ?                 ^ ^^^^
E   
E   + {'state': 'TASK_KILLED', 'task_id': {'value': '285398'}}
E   ?                 ^ ^^

dposada avatar May 16 '18 15:05 dposada