From 6757255ba4aea0b81b46e03ce73059f1bb0a0ae9 Mon Sep 17 00:00:00 2001 From: practicalswift Date: Fri, 5 Jan 2018 17:33:00 +0100 Subject: [PATCH] Use deterministic command-line ordering when executing lightningd from tests --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/utils.py b/tests/utils.py index cf66f951b..016b880a5 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -253,7 +253,7 @@ class LightningD(TailableProc): self.cmd_line += ['--dev-broadcast-interval=1000'] if not random_hsm: self.cmd_line += ['--dev-hsm-seed={}'.format(seed.hex())] - self.cmd_line += ["--{}={}".format(k, v) for k, v in LIGHTNINGD_CONFIG.items()] + self.cmd_line += ["--{}={}".format(k, v) for k, v in sorted(LIGHTNINGD_CONFIG.items())] self.prefix = 'lightningd(%d)' % (port) if not os.path.exists(lightning_dir):