summaryrefslogtreecommitdiff
path: root/kazoo/tests/test_lock.py
Commit message (Expand)AuthorAgeFilesLines
* refactor: no need to specify `mock` (#702)Jeff Widman2023-02-051-3/+3
* chore: bump pyflake, fix new warningsCharles-Henri de Boysson2022-10-171-8/+9
* style: reformat all code with blackCharles-Henri de Boysson2022-10-171-6/+5
* fix(recipe): fix deadlock in r/w lock recipe (#650)Simon Westphahl2022-02-071-0/+58
* fix(recipe): fix deprecation warning from threading.EventSteffen Neubauer2021-12-021-4/+4
* feat(core): Use strict regex to identify lock contenders.Charles-Henri de Boysson2020-04-241-11/+10
* feat(core): Support additionaal lock contenter patternsCharles-Henri de Boysson2020-04-241-39/+69
* [lock] interoperate with go clientPablo Mazzini2020-04-241-0/+16
* feat(test): Move to pytestCharles-Henri de Boysson2020-04-141-59/+59
* feat(recipe): allow non ephemeral lockingRaghu Udiyar2018-03-231-0/+13
* feat: pep8 all the thingsfeat/issue-445Ben Bangert2017-06-011-2/+0
* Convert read/write locks into classesJames E. Blair2017-03-101-0/+44
* Do cleanup in a more more robust mannerJoshua Harlow2015-05-271-11/+37
* Add tests that continue to ensure non-blocking worksJoshua Harlow2015-05-111-5/+33
* Use handler specific sleep functionJoshua Harlow2015-03-201-4/+6
* Make the many threads lock test betterJoshua Harlow2015-03-201-11/+47
* Have the lock reentrancy behave like threading.lockJoshua Harlow2015-03-191-1/+24
* Have the lock recipe no longer be sorta re-entrantJoshua Harlow2015-03-171-3/+5
* Add an eventlet based handlerJoshua Harlow2015-02-121-47/+76
* Make flake8 happyHanno Schlichting2014-08-111-7/+7
* If we want two in the test.... wait for 2.Ben Bangert2014-03-101-1/+1
* Fix Lock deadlock on CONNECTED->SUSPENDED->CONNECTED state changeJonas Borgström2014-02-201-0/+27
* Remove print statements.Ben Bangert2013-07-191-6/+0
* Fix ordering on test lockup.Ben Bangert2013-07-181-2/+6
* Restore print statements as a failure here still happens.Ben Bangert2013-07-181-0/+6
* Remove print statements now that we found the deadlock and fixed it.Ben Bangert2013-07-181-6/+0
* Remedy the deadlock by ensuring ordering operations of lock acquisition.Ben Bangert2013-07-181-6/+7
* Py3 compatible hack.Ben Bangert2013-07-181-4/+6
* Hacky print statements to try and pin deadlock, that doesn't seem to occur wh...Ben Bangert2013-07-181-0/+4
* Avoid thread-leaks which can obscure debug output if a test fails by ensuring...Ben Bangert2013-07-181-0/+6
* add timeout option to semaphore's acquire method to ensure parity with lockHanno Schlichting2013-06-081-0/+37
* Ensure non-blocking Semaphore don't cause shutdown problems, closes #82Hanno Schlichting2013-06-081-0/+12
* tweak `test_lock_timeout` timeoutsHanno Schlichting2013-06-081-3/+3
* give `test_lock_timeout` a bit more timeHanno Schlichting2013-06-081-2/+4
* Merge pull request #93 from DataDog/lock-timeoutDavid LaBissoniere2013-06-061-0/+36
|\
| * add timeout param to LockCarlo Cabanilla2013-06-031-0/+36
* | Patch for Kazoo issue #87 (https://github.com/python-zk/kazoo/issues/87)Matt Wise2013-06-061-0/+8
|/
* re-acquiring locks works without errors, closes #61Hanno Schlichting2013-05-151-0/+14
* Add a `max_leases` consistency check to the semaphore recipe.Hanno Schlichting2013-05-141-0/+18
* changelog / doc improvement and test for #65Hanno Schlichting2013-05-141-0/+19
* avoid heisenfailure in test_lock_non_blockingHanno Schlichting2013-03-261-1/+6
* Allow non-blocking Lock.acquire callAlex Koshelev2013-03-141-1/+18
* Better synchronization for the semaphore test.Ben Bangert2012-09-271-5/+7
* More semaphore tests, add cancel.Ben Bangert2012-09-271-1/+76
* Add lease holders method and test for it.Ben Bangert2012-09-261-0/+17
* Add context manager to Semaphore and fix the semaphore tests.Ben Bangert2012-09-261-22/+15
* fix `super`Hanno Schlichting2012-09-261-1/+1
* Add basic semaphore tests.Ben Bangert2012-09-261-0/+45
* coverage tests for recipe.lock - ignoring some very unlikely edge-casesHanno Schlichting2012-09-031-0/+7
* remoev unused importHanno Schlichting2012-09-031-4/+1