mirror of
https://github.com/aljazceru/plugins.git
synced 2025-12-24 00:24:19 +01:00
drain: Mark the drain_and_refill test as flaky
It sometimes does not raise the expected error, so let's rerun it until we've addressed the flakyness
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from flaky import flaky
|
||||
from pyln.testing.fixtures import * # noqa: F401,F403
|
||||
from pyln.testing.utils import DEVELOPER
|
||||
from pyln.client import RpcError
|
||||
@@ -11,6 +12,7 @@ pluginopt = {'plugin': os.path.join(os.path.dirname(__file__), "drain.py")}
|
||||
EXPERIMENTAL_FEATURES = int(os.environ.get("EXPERIMENTAL_FEATURES", "0"))
|
||||
|
||||
|
||||
@flaky
|
||||
@unittest.skipIf(not DEVELOPER, "slow gossip, needs DEVELOPER=1")
|
||||
def test_drain_and_refill(node_factory, bitcoind):
|
||||
# Scenario: first drain then refill
|
||||
|
||||
Reference in New Issue
Block a user