~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockdir.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-04-26 21:11:03 UTC
  • mfrom: (2447.1.7 bundle_empty_properties)
  • Revision ID: pqm@pqm.ubuntu.com-20070426211103-h84prqh7a4ad3ez2
(John Arbash Meinel) Fix bug #109613 by teaching Bundle how to properly read/write revision properties with no value.

Show diffs side-by-side

added added

removed removed

Lines of Context:
220
220
        One thread holds on a lock and then releases it; another 
221
221
        tries to lock it.
222
222
        """
223
 
        # This test sometimes fails like this:
224
 
        # Traceback (most recent call last):
225
 
 
226
 
        #   File "/home/pqm/bzr-pqm-workdir/home/+trunk/bzrlib/tests/
227
 
        # test_lockdir.py", line 247, in test_32_lock_wait_succeed
228
 
        #     self.assertEqual(1, len(self._logged_reports))
229
 
        # AssertionError: not equal:
230
 
        # a = 1
231
 
        # b = 0
232
 
        raise tests.TestSkipped("Test fails intermittently")
233
223
        t = self.get_transport()
234
224
        lf1 = LockDir(t, 'test_lock')
235
225
        lf1.create()