selftest on win32

Martin Pool mbp at canonical.com
Mon Nov 10 04:49:41 GMT 2008


On Mon, Nov 10, 2008 at 1:01 PM, Mark Hammond <mhammond at skippinet.com.au> wrote:
>> If you want to talk about
>> particular messages, post them here (or refer to older threads.)
>
> A fair bit of noise (55 failures at last count) are along the lines of:
>
> """
> FAIL: test_push_only_pushes_history
> (bzrlib.tests.blackbox.test_push.TestPush)
> vvvv[log from
> bzrlib.tests.blackbox.test_push.TestPush.test_push_only_pushes_history]
> ...
> LockContention: Could not acquire lock
> "O:/window~1/testbzr-ds0uvn.tmp/.test_push_only_pushes_history/work/push-b/.
> bzr/checkout/dirstate"
> """

I think it would be a small step forward to turn these into expected
failures, pointing at the bug number describing the problem.  (There
may already be one.)  As I understand it the problem is that there is
a difference in behaviour being that on Unix file locks are exclusive
per-process and on Windows they are per-filehandle, and we
accidentally have two handles open on the file simultaneously.  In
fact I think there is already an OS lock xfail regarding this.

-- 
Martin <http://launchpad.net/~mbp/>



More information about the bazaar mailing list