From 1480257644dfd8cda2405678b9b7be8c6629254c Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 26 Jul 2022 13:41:59 +0930 Subject: [PATCH] pytest: set dblog-file when adding the dblog plugin (TEST_CHECK_DBSTMTS=1) As we'll see in the next patch, this wasn't *supposed* to work wihtout dblog-file, but it did, creating a dblog called "null". Signed-off-by: Rusty Russell --- tests/fixtures.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/fixtures.py b/tests/fixtures.py index 84258367d..04f691d92 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -40,6 +40,7 @@ class LightningNode(utils.LightningNode): if not has_dblog: # Add as an expanded option so we don't clobber other options. self.daemon.opts['plugin={}'.format(dblog)] = None + self.daemon.opts['dblog-file'] = 'dblog.sqlite3' # Yes, we really want to test the local development version, not # something in out path.