Merge "tests: allow ipc to bypass blocking=False test"

This commit is contained in:
Jenkins 2015-12-02 16:55:21 +00:00 committed by Gerrit Code Review
commit 81ac159c00
1 changed files with 4 additions and 1 deletions

View File

@ -700,7 +700,10 @@ class TestAPI(testscenarios.TestWithScenarios,
def thread():
with lock2:
self.assertFalse(lock1.acquire(blocking=False))
try:
self.assertFalse(lock1.acquire(blocking=False))
except tooz.NotImplemented:
pass
thread_locked.set()
graceful_ending.set()