Skip to content

Commit 3b50d82

Browse files
authored
Merge pull request rust-bitcoin#42 from tcharding/01-21-test-p2p
Remove feature gating from `test_p2p` unit test
2 parents 6d3be0a + 0c08ad7 commit 3b50d82

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

node/src/lib.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,6 @@ mod test {
577577
use tempfile::TempDir;
578578

579579
use super::*;
580-
#[cfg(not(feature = "28_0"))]
581580
use crate::P2P;
582581
use crate::{exe_path, get_available_port, Conf, Node, LOCAL_IP};
583582

@@ -628,9 +627,6 @@ mod test {
628627
}
629628

630629
#[test]
631-
// When this test is run at the same time as `test_multi_p2p` for v28 it fails.
632-
// FIXME: Debug this failure - test runs ok on its own.
633-
#[cfg(not(feature = "28_0"))]
634630
fn test_p2p() {
635631
let exe = init();
636632

@@ -858,7 +854,6 @@ mod test {
858854
assert!(node.params.zmq_pub_raw_block_socket.is_none());
859855
}
860856

861-
#[cfg(not(feature = "28_0"))]
862857
fn peers_connected(client: &Client) -> usize {
863858
// FIXME: Once client implements get_peer_info use it.
864859
// This is kinda cool, it shows we can call any RPC method using the client.

0 commit comments

Comments
 (0)