maasserver.models.tests.test_bootsource.TestBootSource.test_calls_cache_boot_sources_on_create sometimes fails spuriously

Bug #1389631 reported by Graham Binns
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Low
Unassigned

Bug Description

Running make check, I saw this:

======================================================================
FAIL: maasserver.models.tests.test_bootsource.TestBootSource.test_calls_cache_boot_sources_on_create
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/home/graham/workspace/maas-work/maas/src/maasserver/models/tests/test_bootsource.py", line 108, in test_calls_cache_boot_sources_on_create
    1, deferToThread, cache_boot_sources))
  File "/usr/lib/python2.7/dist-packages/testtools/testcase.py", line 406, in assertThat
    raise mismatch_error
MismatchError: Expected to be called once. Called 2 times.

Re-running make check, the error didn't reappear. Nor does it appear when running the test in isolation

Tags: tests
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.