Skip to content

Commit 3fe88b0

Browse files
committed
tmp: log threads
1 parent 9be6002 commit 3fe88b0

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
@@ -236,6 +236,7 @@ def load_dfk_local_module(request, pytestconfig, tmpd_cwd_session):
236236
this_process = psutil.Process()
237237
start_fds = this_process.num_fds()
238238
logger.error(f"BENC: start open fds: {start_fds}")
239+
logger.error(f"BENC: start threads: {threading.active_count()}")
239240

240241
local_setup = getattr(request.module, "local_setup", None)
241242
local_teardown = getattr(request.module, "local_teardown", None)
@@ -270,6 +271,7 @@ def load_dfk_local_module(request, pytestconfig, tmpd_cwd_session):
270271
assert DataFlowKernelLoader._dfk is None
271272
end_fds = this_process.num_fds()
272273
logger.error(f"BENC: end open fds: {end_fds} (vs start {start_fds}")
274+
logger.error(f"BENC: end threads: {threading.active_count()}")
273275

274276
else:
275277
yield

0 commit comments

Comments
 (0)