diff --git a/crates/tests-e2e/src/setup.rs b/crates/tests-e2e/src/setup.rs index 63f20afc1..08cd4dd81 100644 --- a/crates/tests-e2e/src/setup.rs +++ b/crates/tests-e2e/src/setup.rs @@ -30,13 +30,23 @@ impl TestSetup { let funded_amount = fund_app_with_faucet(&coordinator, &client, 50_000) .await .expect("to be able to fund"); + + // FIXME: Waiting here on >= as this test run on the CI can't find a route when trying to pay + // immediately after claiming a received payment. + let ln_balance = app + .rx + .wallet_info() + .expect("to have wallet info") + .balances + .lightning; + tracing::info!(%funded_amount, %ln_balance, "Successfully funded app with faucet"); wait_until!( app.rx .wallet_info() .expect("have wallet_info") .balances .lightning - == funded_amount + >= funded_amount ); Self { app, coordinator }