pytest: Skip some tests that assume we have a sqlite3 db on postgres

These will not work since they touch the DB file itself.

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker
2019-09-12 22:49:42 +02:00
committed by Rusty Russell
parent b89222f2d9
commit efc4aa94a3
4 changed files with 5 additions and 0 deletions

View File

@@ -1627,6 +1627,7 @@ def test_funder_simple_reconnect(node_factory, bitcoind):
l1.pay(l2, 200000000)
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "sqlite3-specific DB rollback")
@unittest.skipIf(not DEVELOPER, "needs LIGHTNINGD_DEV_LOG_IO")
def test_dataloss_protection(node_factory, bitcoind):
l1 = node_factory.get_node(may_reconnect=True, log_all_io=True,