Spurious test failure: TestBootSource.test_calls_cache_boot_sources_on_create

Bug #1376317 reported by Jeroen T. Vermeulen
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Blake Rouse

Bug Description

This test fails about 1% of the time:

«
FAIL: maasserver.models.tests.test_bootsource.TestBootSource.test_calls_cache_boot_sources_on_create
----------------------------------------------------------------------
_StringException: Traceback (most recent call last):
  File "/tmp/tarmac/branch.e8IbUj/src/maasserver/models/tests/test_bootsource.py", line 107, in test_calls_cache_boot_sources_on_create
    MockCalledOnceWith(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.
»

Related branches

tags: added: tech-debt
Revision history for this message
Gavin Panella (allenap) wrote :
Revision history for this message
Gavin Panella (allenap) wrote :

I should have said I'm disabling it in 1.7 only.

Revision history for this message
Gavin Panella (allenap) wrote :

I'm also disabling it in trunk.

Changed in maas:
status: Triaged → In Progress
milestone: none → 2.0.0
assignee: nobody → Blake Rouse (blake-rouse)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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