~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-08-17 08:10:01 UTC
  • mfrom: (2709.1.1 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20070817081001-f4cslu4g95a2e88n
Make TestLockDir.test_35_wait_lock_changing less timing-sensitive

Show diffs side-by-side

added added

removed removed

Lines of Context:
395
395
        unlocker.start()
396
396
        try:
397
397
            # Wait and play against the other thread
398
 
            lf2.wait_lock(timeout=1.0, poll=0.01)
 
398
            lf2.wait_lock(timeout=20.0, poll=0.01)
399
399
        finally:
400
400
            unlocker.join()
401
401
        lf2.unlock()