breezy.tests.test_knit.TestPackKnitAccess.test_get_record_stream_retries is flaky

Bug #1779789 reported by Jelmer Vernooij
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
High
Jelmer Vernooij

Bug Description

breezy.tests.test_knit.TestPackKnitAccess.test_get_record_stream_retries is flaky. On Python3 it sometimes files with:

FAIL: python3.breezy.tests.test_knit.TestPackKnitAccess.test_get_record_stream_retries
tags: worker-0
----------------------------------------------------------------------
log: {{{
0.677 creating repository in memory+140419714504576:///.bzr/.
0.678 creating branch <breezy.bzr.branch.BzrBranchFormat7 object at 0x7fb603277be0> in memory+140419714504576:///
0.680 preparing to commit
0.681 Selecting files for commit with filter None
0.688 preparing to commit
0.689 Selecting files for commit with filter None
0.694 preparing to commit
0.695 Selecting files for commit with filter None
}}}

Traceback (most recent call last):
  File "/home/jelmer/src/breezy.old/python3-m/breezy/tests/test_knit.py", line 685, in test_get_record_stream_retries
    self.assertEqual([1, 1, 0], reload_counter)
  File "/home/jelmer/src/breezy.old/python3-m/breezy/tests/__init__.py", line 1310, in assertEqual
    pprint.pformat(a), pprint.pformat(b)))
AssertionError: not equal:
a = [1, 1, 0]
b = [0, 0, 0]

Tags: selftest flaky
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Released
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.