mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-04 14:54:26 +01:00
pytest: don't checksum plugins on startup in VALGRIND developer mode.
This loads up 20MB of plugins temporarily; we seem to be getting OOM killed under CI and I wonder if this is contributing. Doesn't significantly reduce runtime here, but I have lots of memory. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
committed by
Christian Decker
parent
09bbda4bca
commit
65bb989cf1
@@ -2520,6 +2520,9 @@ plugin.run()
|
||||
|
||||
# get a node that is not started so we can put a plugin in its lightning_dir
|
||||
n = node_factory.get_node(start=False)
|
||||
if "dev-no-plugin-checksum" in n.daemon.opts:
|
||||
del n.daemon.opts["dev-no-plugin-checksum"]
|
||||
|
||||
lndir = n.daemon.lightning_dir
|
||||
|
||||
# write hello world plugin to lndir/plugins
|
||||
|
||||
Reference in New Issue
Block a user