Skip to content

Commit 528c425

Browse files
committed
fix(test): exclude CBF and Bitcoind REST from random chain source
CBF requires dedicated peer setup and cannot work in randomized tests. Bitcoind REST is excluded to match upstream's random range (0..3), which only covers Esplora, Electrum, and Bitcoind RPC. Both backends have dedicated test paths with explicit chain source selection.
1 parent 1ee3d48 commit 528c425

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/common/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ pub(crate) fn random_chain_source<'a>(
268268
Some("bitcoind-rpc") => 2,
269269
Some("bitcoind-rest") => 3,
270270
Some("cbf") => 4,
271-
_ => rand::random_range(0..4),
271+
_ => rand::random_range(0..3),
272272
};
273273
match r {
274274
0 => {

0 commit comments

Comments
 (0)