Skip to content

Commit f499c5f

Browse files
committed
tmp: log threads
1 parent 3b3592f commit f499c5f

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
@@ -248,6 +248,7 @@ def load_dfk_local_module(request, pytestconfig, tmpd_cwd_session):
248248
this_process = psutil.Process()
249249
start_fds = this_process.num_fds()
250250
logger.error(f"BENC: start open fds: {start_fds}")
251+
logger.error(f"BENC: start threads: {threading.active_count()}")
251252

252253
local_setup = getattr(request.module, "local_setup", None)
253254
local_teardown = getattr(request.module, "local_teardown", None)
@@ -282,6 +283,7 @@ def load_dfk_local_module(request, pytestconfig, tmpd_cwd_session):
282283
assert DataFlowKernelLoader._dfk is None
283284
end_fds = this_process.num_fds()
284285
logger.error(f"BENC: end open fds: {end_fds} (vs start {start_fds}")
286+
logger.error(f"BENC: end threads: {threading.active_count()}")
285287

286288
else:
287289
yield

0 commit comments

Comments
 (0)