Skip to content

Commit ca8b6b6

Browse files
committed
Skip two integration tests which mutate channel_nonce.
1 parent c2227a4 commit ca8b6b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_db.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ def test_max_channel_id(node_factory, bitcoind):
133133
@unittest.skipIf(not COMPAT, "needs COMPAT to convert obsolete db")
134134
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
135135
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
136+
@unittest.skipIf(os.getenv('SUBDAEMON', 'xxx') == 'hsmd:remote_hsmd', "remote_hsmd doesn't like channel_nonce changing")
136137
def test_scid_upgrade(node_factory, bitcoind):
137138
bitcoind.generate_block(1)
138139

@@ -146,6 +147,7 @@ def test_scid_upgrade(node_factory, bitcoind):
146147
@unittest.skipIf(not COMPAT, "needs COMPAT to convert obsolete db")
147148
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
148149
@unittest.skipIf(TEST_NETWORK != 'regtest', "The network must match the DB snapshot")
150+
@unittest.skipIf(os.getenv('SUBDAEMON', 'xxx') == 'hsmd:remote_hsmd', "remote_hsmd doesn't like channel_nonce changing")
149151
def test_last_tx_psbt_upgrade(node_factory, bitcoind):
150152
bitcoind.generate_block(12)
151153

0 commit comments

Comments
 (0)