|
@ -1,10 +1,12 @@ |
|
|
from fixtures import * # noqa: F401,F403 |
|
|
from fixtures import * # noqa: F401,F403 |
|
|
from utils import wait_for, sync_blockheight, COMPAT |
|
|
from utils import wait_for, sync_blockheight, COMPAT |
|
|
|
|
|
from fixtures import TEST_NETWORK |
|
|
|
|
|
|
|
|
import os |
|
|
import os |
|
|
import unittest |
|
|
import unittest |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@unittest.skipIf(TEST_NETWORK != 'regtest', "The DB migration is network specific due to the chain var.") |
|
|
def test_db_dangling_peer_fix(node_factory): |
|
|
def test_db_dangling_peer_fix(node_factory): |
|
|
# This was taken from test_fail_unconfirmed() node. |
|
|
# This was taken from test_fail_unconfirmed() node. |
|
|
l1 = node_factory.get_node(dbfile='dangling-peer.sqlite3.xz') |
|
|
l1 = node_factory.get_node(dbfile='dangling-peer.sqlite3.xz') |
|
|