Commit 920484d7 authored by Julien Muchembled's avatar Julien Muchembled

tests: comment the assertion that detects file descriptor leaks

parent b57d0dae
......@@ -142,7 +142,9 @@ class Serialized(object):
@classmethod
def stop(cls):
assert not cls._fd_dict, cls._fd_dict
assert not cls._fd_dict, ("file descriptor leak (%r)\nThis may happen"
" when a test fails, in which case you can see the real exception"
" by disabling this one." % cls._fd_dict)
del(cls._busy, cls._busy_cond, cls._epoll, cls._fd_dict,
cls._pdb, cls._sched_lock, cls._tic_lock)
......
......@@ -1004,10 +1004,12 @@ class Test(NEOThreadedTest):
# modify x with another client
client = cluster.newClient()
try:
txn = transaction.Transaction()
client.tpc_begin(txn)
client.store(x1._p_oid, x1._p_serial, y, '', txn)
tid = client.tpc_finish(txn, None)
finally:
client.close()
self.tic()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment