From 9ef45ae83c12c87fc835bdcc63198af4b21555d6 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Thu, 5 Dec 2019 02:00:24 +0100 Subject: [PATCH] jitrebalance: Skip tests if not developer, gossip is too slow --- jitrebalance/test_jitrebalance.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jitrebalance/test_jitrebalance.py b/jitrebalance/test_jitrebalance.py index 6909324..da4d43e 100644 --- a/jitrebalance/test_jitrebalance.py +++ b/jitrebalance/test_jitrebalance.py @@ -3,11 +3,13 @@ from pyln.testing.utils import wait_for from pprint import pprint import os import time +import unittest plugin = os.path.join(os.path.dirname(__file__), 'jitrebalance.py') +@unittest.skipIf(not DEVELOPER, "gossip is too slow if we're not in developer mode") def test_simple_rebalance(node_factory): """Simple rebalance that routes along a cycle to enable the original payment