Skip to content
This repository has been archived by the owner on Feb 5, 2025. It is now read-only.

Commit

Permalink
multithreaded test
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Nov 14, 2024
1 parent 4747e95 commit 363c164
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ mod tests {
}
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_no_active_receiver() {
tracing::info!("Starting test_no_active_receiver");

Expand Down Expand Up @@ -85,7 +85,7 @@ mod tests {
send_handle.await.expect("send_handle failed");
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_startup_info_endpoint() {
// Initialize logging
let _ = tracing_subscriber::fmt()
Expand Down Expand Up @@ -142,7 +142,7 @@ mod tests {
assert_eq!(startup_info.non_staked_node_count, non_staked_node_count);
}

#[tokio::test]
#[tokio::test(flavor = "multi_thread")]
async fn test_event_stream() {
tracing::info!("Starting test_event_stream");

Expand Down

0 comments on commit 363c164

Please sign in to comment.