~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockdir.py

  • Committer: Robert Collins
  • Date: 2007-06-26 08:52:20 UTC
  • mto: This revision was merged to the branch mainline in revision 2554.
  • Revision ID: robertc@robertcollins.net-20070626085220-iovhwfjflk8vffbh
Add require_api API.

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")
223
233
        t = self.get_transport()
224
234
        lf1 = LockDir(t, 'test_lock')
225
235
        lf1.create()