Unit test failing: test_ran_with_timeout

Bug #1951914 reported by Jose Guedez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-backup-all
New
Undecided
Unassigned

Bug Description

Current master (commit c8ffbeacbe3be3428e4f68f15545ea8abe689994), fails one unit test. Details below:

======================================================================
FAIL: test_ran_with_timeout (test_utils.TestRunWithTimeout)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/mock.py", line 1325, in patched
    return func(*newargs, **newkeywargs)
  File "/home/redacted/canonical/repos/bootstack/juju-backup-all/tests/unit/test_utils.py", line 205, in test_ran_with_timeout
    run_with_timeout(mock_coroutine, task)
AssertionError: JujuTimeoutError not raised

----------------------------------------------------------------------
Ran 54 tests in 0.130s

FAILED (failures=1)
sys:1: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.