mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
pytest: don't try exposesecret test under valgrind.
There's a known issue with hsm passwords and valgrind: ``` write_all(master_fd, (password + '\n').encode("utf-8")) > l1.daemon.wait_for_log("Server started with public key") tests/test_plugin.py:4526: ... if self.is_in_log(r): print("({} was previously in logs!)".format(r)) > raise TimeoutError('Unable to find "{}" in logs.'.format(exs)) E TimeoutError: Unable to find "[re.compile('Server started with public key')]" in logs. ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
3ef52d3001
commit
ecc3a00839
@ -4450,6 +4450,7 @@ def test_listchannels_broken_message(node_factory):
|
||||
l1.rpc.listchannels()
|
||||
|
||||
|
||||
@unittest.skipIf(VALGRIND, "It does not play well with prompt and key derivation.")
|
||||
def test_exposesecret(node_factory):
|
||||
l1, l2 = node_factory.get_nodes(2, opts=[{'exposesecret-passphrase': "test_exposesecret"}, {}])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user