Commit b08a8600 by Julien Muchembled

In threaded tests, log the line of code calling tic()

1 parent 08742377
......@@ -675,7 +675,11 @@ class NEOCluster(object):
@staticmethod
def tic(force=False):
# XXX: Should we automatically switch client in slave mode if it isn't ?
logging.info('tic ...')
f = sys._getframe(1)
try:
logging.info('tic (%s:%u) ...', f.f_code.co_filename, f.f_lineno)
finally:
del f
if force:
Serialized.tic()
logging.info('forced tic')
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!