Skip to content

Commit

Permalink
Re-enabled unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hunhoffe committed Sep 20, 2023
1 parent 3ff1a78 commit 8a7bb83
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
12 changes: 0 additions & 12 deletions lib/rpc/src/transport/tcp/interface_wrapper.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,6 @@ mod tests {
use crate::transport::tcp::interface_wrapper::InterfaceWrapper;
use crate::transport::tcp::test::get_loopback_interface;

#[ignore]
#[test]
fn test_instantiation() {
setup_test_logging();
Expand All @@ -566,7 +565,6 @@ mod tests {
let _interface_wrapper = InterfaceWrapper::new(iface);
}

#[ignore]
#[test]
fn test_add_server_socket() {
setup_test_logging();
Expand All @@ -578,7 +576,6 @@ mod tests {
.expect("Failed to add server socket");
}

#[ignore]
#[test]
fn test_add_client_socket() {
setup_test_logging();
Expand All @@ -590,7 +587,6 @@ mod tests {
.expect("Failed to add client socket");
}

#[ignore]
#[test]
fn test_add_socket_multi() {
setup_test_logging();
Expand All @@ -612,7 +608,6 @@ mod tests {
.expect("Failed to add client socket");
}

#[ignore]
#[test]
fn test_send_single_msg() {
setup_test_logging();
Expand Down Expand Up @@ -644,7 +639,6 @@ mod tests {
.expect("Failed to send.");
}

#[ignore]
#[test]
fn test_send_multichannel() {
setup_test_logging();
Expand Down Expand Up @@ -683,7 +677,6 @@ mod tests {
}
}

#[ignore]
#[test]
fn test_send_multichannel_concurrent() {
setup_test_logging();
Expand Down Expand Up @@ -732,7 +725,6 @@ mod tests {
}
}

#[ignore]
#[test]
fn test_recv_single_msg() {
setup_test_logging();
Expand Down Expand Up @@ -789,7 +781,6 @@ mod tests {
}
}

#[ignore]
#[test]
fn test_recv_anychannel() {
setup_test_logging();
Expand Down Expand Up @@ -861,7 +852,6 @@ mod tests {
}
}

#[ignore]
#[test]
fn test_recv_anychannel_concurrent() {
setup_test_logging();
Expand Down Expand Up @@ -941,7 +931,6 @@ mod tests {
}
}

#[ignore]
#[test]
fn test_recv_multi_concurrent() {
setup_test_logging();
Expand Down Expand Up @@ -1038,7 +1027,6 @@ mod tests {
}
}

#[ignore]
#[test]
fn test_recv_multisocket_multichannel_concurrent() {
setup_test_logging();
Expand Down
8 changes: 0 additions & 8 deletions lib/rpc/src/transport/tcp/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ mod tests {
use crate::transport::TCPTransport;
use crate::transport::Transport;

#[ignore]
#[test]
fn test_initialization() {
setup_test_logging();
Expand All @@ -161,12 +160,9 @@ mod tests {
.expect("We should be able to initialize the TCP transport");
}

#[ignore]
#[test]
fn test_send_recv() {
//TODO: add log message
setup_test_logging();
log::warn!("Starting test_send_recv()");

let iface = get_loopback_interface();

Expand Down Expand Up @@ -227,11 +223,9 @@ mod tests {
});
}

#[ignore]
#[test]
fn test_send_and_recv() {
setup_test_logging();
log::warn!("Starting test_send_and_recv()");

let iface = get_loopback_interface();

Expand Down Expand Up @@ -295,7 +289,6 @@ mod tests {
#[test]
fn test_multi_client_server() {
setup_test_logging();
log::warn!("Starting test_multi_client_server()");

let iface = get_loopback_interface();
let interface_wrapper = Arc::new(InterfaceWrapper::new(iface));
Expand Down Expand Up @@ -426,7 +419,6 @@ mod tests {
#[test]
fn test_multi_client_server_channel() {
setup_test_logging();
log::warn!("Starting test_multi_client_server_channel()");

let iface = get_loopback_interface();
let interface_wrapper = Arc::new(InterfaceWrapper::new(iface));
Expand Down

0 comments on commit 8a7bb83

Please sign in to comment.