Skip to content

Commit

Permalink
wait for indexers at test services startup
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Jul 3, 2024
1 parent 3872869 commit 09870f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ jobs:
- name: Test with electrum feature
run: |
cargo test --no-default-features --features electrum go_online::fail
cargo test --no-default-features --features electrum send::min_confirmations_electrum
cargo test --no-default-features --features electrum send::min_relay_fee_electrum
SKIP_INIT=1 cargo test --no-default-features --features electrum send::min_confirmations_electrum
SKIP_INIT=1 cargo test --no-default-features --features electrum send::min_relay_fee_electrum
- name: Test with esplora feature
run: |
cargo test --no-default-features --features esplora go_online::fail
cargo test --no-default-features --features esplora send::min_confirmations_esplora
cargo test --no-default-features --features esplora send::min_relay_fee_esplora
SKIP_INIT=1 cargo test --no-default-features --features esplora send::min_confirmations_esplora
SKIP_INIT=1 cargo test --no-default-features --features esplora send::min_relay_fee_esplora
- name: Test with no default features
run: |
cargo test --no-default-features
1 change: 1 addition & 0 deletions src/wallet/test/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ pub fn initialize() {
println!("{output:?}");
panic!("failed to start test services");
}
wait_indexers_sync()
});
}

Expand Down

0 comments on commit 09870f5

Please sign in to comment.