From f87ceae731d725fe99f492e7a377e15d0711a5ed Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Sat, 19 Feb 2022 10:08:19 -0500 Subject: [PATCH] make eliot log output from tahoe children available --- src/_zkapauthorizer/tests/test_tahoe.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/_zkapauthorizer/tests/test_tahoe.py b/src/_zkapauthorizer/tests/test_tahoe.py index d88910e..0efdfd0 100644 --- a/src/_zkapauthorizer/tests/test_tahoe.py +++ b/src/_zkapauthorizer/tests/test_tahoe.py @@ -137,8 +137,9 @@ class TahoeStorage: """ Start the node child process. """ + eliot = ["--eliot-destination", "file:" + self.node_dir.child("log.eliot").path] self.process = Popen( - TAHOE + ["run", self.node_dir.path], + TAHOE + eliot + ["run", self.node_dir.path], stdout=self.node_dir.child("stdout").open("wb"), stderr=self.node_dir.child("stderr").open("wb"), ) @@ -257,8 +258,9 @@ class TahoeClient: """ Start the node child process. """ + eliot = ["--eliot-destination", "file:" + self.node_dir.child("log.eliot").path] self.process = Popen( - TAHOE + ["run", self.node_dir.path], + TAHOE + eliot + ["run", self.node_dir.path], stdout=self.node_dir.child("stdout").open("wb"), stderr=self.node_dir.child("stderr").open("wb"), ) -- GitLab