Skip to content

Commit 155728f

Browse files
Add println to check CLN block height
This helps debug CI failures caused by outdated block height.
1 parent 01c396a commit 155728f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/cln-integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
socat -d -d UNIX-LISTEN:/tmp/lightning-rpc,reuseaddr,fork TCP:127.0.0.1:9937&
2424
2525
- name: Run CLN integration tests
26-
run: RUSTFLAGS="--cfg cln_test" cargo test --test integration_tests_cln
26+
run: RUSTFLAGS="--cfg cln_test" cargo test --test integration_tests_cln -- --nocapture

tests/integration_tests_cln.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ fn test_cln() {
8585

8686
node.open_channel(cln_node_id, cln_address, funding_amount_sat, Some(500_000_000), None)
8787
.unwrap();
88-
88+
println!("[CLN] Node block height: {:?}", cln_info.blockheight);
8989
let funding_txo = common::expect_channel_pending_event!(node, cln_node_id);
9090
common::wait_for_tx(&electrs_client, funding_txo.txid);
9191
common::generate_blocks_and_wait(&bitcoind_client, &electrs_client, 6);

0 commit comments

Comments
 (0)