Skip to content

Commit d88eda2

Browse files
committed
ci: Mark some tests as rerun
1 parent 9c18092 commit d88eda2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ dev = [
3030
"pytest-timeout>=2.4.0",
3131
"flake8>=7.0",
3232
"pytest-custom-exit-code==0.3.0",
33-
"flaky>=3.7.0",
3433
"requests>=2.32.0",
3534
"flask-socketio>=5",
3635
"tqdm",

tests/test_invoices.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,6 +927,7 @@ def test_invoices_wait_db_migration(node_factory, bitcoind):
927927

928928
@unittest.skipIf(os.getenv('TEST_DB_PROVIDER', 'sqlite3') != 'sqlite3', "This test is based on a sqlite3 snapshot")
929929
@unittest.skipIf(TEST_NETWORK != 'regtest', "The DB migration is network specific due to the chain var.")
930+
@pytest.mark.flaky(reruns=5)
930931
def test_invoice_botched_migration(node_factory, chainparams):
931932
"""Test for grubles' case, where they ran successfully with the wrong var: they have *both* last_invoice_created_index *and *last_invoices_created_index* (this can happen if invoice id 1 was deleted, so they didn't die on invoice creation):
932933
Error executing statement: wallet/db.c:1684: UPDATE vars SET name = 'last_invoices_created_index' WHERE name = 'last_invoice_created_index': UNIQUE constraint failed: vars.name

0 commit comments

Comments
 (0)