Skip to content

Inconsistently failing test_fetch_or_enqueue_task CI #3916

@bjester

Description

@bjester

Observed behavior

We've seen the following test failure in our Github CI builds inconsistently

=================================== FAILURES ===================================
_________________ AsyncTaskTestCase.test_fetch_or_enqueue_task _________________

self = <contentcuration.tests.test_asynctask.AsyncTaskTestCase testMethod=test_fetch_or_enqueue_task>

    def test_fetch_or_enqueue_task(self):
        expected_task = test_task.enqueue(self.user, is_test=True)
        async_result = test_task.fetch_or_enqueue(self.user, is_test=True)
>       self.assertEqual(expected_task.task_id, async_result.task_id)
E       AssertionError: 'dc51c290f1bc44f9b7ae19ad123c2c9f' != '49eae93f804f49a19fa363772149be43'
E       - dc51c290f1bc44f9b7ae19ad123c2c9f
E       + 49eae93f804f49a19fa363772149be43

contentcuration/contentcuration/tests/test_asynctask.py:210: AssertionError

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions