test_format_initialize_find_open has some isolation problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Martin Pool |
Bug Description
I've seen test_format_
Traceback (most recent call last):
File "/home/
return fn(*args)
File "/home/
testMethod()
File "/home/
bzrdir.
AssertionError: not equal:
a = RemoteBzrDirFor
b = RemoteBzrDirFor
Related branches
- Robert Collins (community): Approve
-
Diff: 68 lines (+18/-4)3 files modifiedNEWS (+4/-0)
bzrlib/bzrdir.py (+7/-4)
bzrlib/tests/per_bzrdir/test_bzrdir.py (+7/-0)
Changed in bzr: | |
milestone: | none → 2.1.0rc1 |
status: | In Progress → Fix Released |
I suspect some global state in the format registry is being tweaked by an earlier test.
This is comparing:
a= the bzrdir format for this instance of the parameterized test
b= the actual format observed when opening this transport
so what we see here would be consistent with
1- opening the format not setting the network name
2- the network name being put into the format as a bzrdir instance is initialized; or the network name being set in the parameterization of this test