From 7f74182a8ab5b9d8c2b0f39f2d31796fb9b7b8cf Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sat, 8 Aug 2020 15:15:43 -0400 Subject: [PATCH] Never allow more then info logging in daemon; causes blocking --- tests/conftest.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/conftest.py b/tests/conftest.py index 07a455c..8525481 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -124,6 +124,10 @@ def sig_prog(proc, sig): def daemon(loglevel, testdir, arb_addr): """Run a daemon actor as a "remote arbiter". """ + if loglevel in ('trace', 'debug'): + # too much logging will lock up the subproc (smh) + loglevel = 'info' + cmdargs = [ sys.executable, '-c', "import tractor; tractor.run_daemon((), arbiter_addr={}, loglevel={})"