Skip to content

Commit 4808d0f

Browse files
committed
tmp: log threads
1 parent 994d0fe commit 4808d0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

parsl/tests/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def load_dfk_local_module(request, pytestconfig, tmpd_cwd_session):
231231
this_process = psutil.Process()
232232
start_fds = this_process.num_fds()
233233
logger.error(f"BENC: start open fds: {start_fds}")
234+
logger.error(f"BENC: start threads: {threading.active_count()}")
234235

235236
local_setup = getattr(request.module, "local_setup", None)
236237
local_teardown = getattr(request.module, "local_teardown", None)
@@ -265,6 +266,7 @@ def load_dfk_local_module(request, pytestconfig, tmpd_cwd_session):
265266
assert DataFlowKernelLoader._dfk is None
266267
end_fds = this_process.num_fds()
267268
logger.error(f"BENC: end open fds: {end_fds} (vs start {start_fds}")
269+
logger.error(f"BENC: end threads: {threading.active_count()}")
268270

269271
else:
270272
yield

0 commit comments

Comments
 (0)