Skip to content

Commit 68f0d4d

Browse files
committed
f - fix test flakiness?
1 parent 09b17c9 commit 68f0d4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/integration_tests_rust.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1034,6 +1034,9 @@ async fn splice_channel() {
10341034
expect_payment_successful_event!(node_b, Some(payment_id), None);
10351035
expect_payment_received_event!(node_a, amount_msat);
10361036

1037+
// Mine a block to give time for the HTLC to resolve
1038+
generate_blocks_and_wait(&bitcoind.client, &electrsd.client, 1).await;
1039+
10371040
assert_eq!(
10381041
node_a.list_balances().total_lightning_balance_sats,
10391042
4_000_000 - closing_transaction_fee_sat - anchor_output_sat + amount_msat / 1000

0 commit comments

Comments
 (0)