summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSusan LoVerso <sue@wiredtiger.com>2014-05-05 11:11:48 -0400
committerSusan LoVerso <sue@wiredtiger.com>2014-05-05 11:11:48 -0400
commit08770dfe663434cbe5bf38428a9c00d772b7a78c (patch)
tree7818b91a8180144a2be78290397643591e119da1 /test
parent99920d6b2da272f4553b20e0f43a1e94ae05a611 (diff)
downloadmongo-08770dfe663434cbe5bf38428a9c00d772b7a78c.tar.gz
Fixes to worker thread: Use wt_session interface for transactions
and workers don't exit due to operation errors.
Diffstat (limited to 'test')
-rw-r--r--test/suite/test_async01.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/suite/test_async01.py b/test/suite/test_async01.py
index 31c355d4be7..1b7121783a0 100644
--- a/test/suite/test_async01.py
+++ b/test/suite/test_async01.py
@@ -68,6 +68,7 @@ class Callback(wiredtiger.AsyncCallback):
self.notify_error(key, value, optype, 'unexpected optype')
self.lock.acquire()
self.nerror += 1
+ self.lock.release()
if self.current[key] != value:
self.notify_error(key, value, optype, 'unexpected value')
self.lock.acquire()