Skip to content

Commit

Permalink
test(quinn): reduce the number of senders and run quinn test on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel-faber authored and joshuef committed Aug 3, 2021
1 parent d45204c commit 96bc785
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tests/quinn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,8 @@ async fn read_from_stream(
}

#[tokio::test(flavor = "multi_thread")]
#[ignore = "Will run into OOM on CI"]
async fn multiple_connections_with_many_concurrent_messages() -> Result<()> {
let num_senders: usize = 150;
let num_senders: usize = 10;
let num_messages_each: usize = 100;
let num_messages_total: usize = num_senders * num_messages_each;

Expand All @@ -210,7 +209,6 @@ async fn multiple_connections_with_many_concurrent_messages() -> Result<()> {
let mut tasks = FuturesUnordered::new();

let server = server_endpoint.clone();
// UnboundedReceiver
let server_handle = tokio::spawn(async move {
info!("Server started");
let mut num_received = 0;
Expand Down

0 comments on commit 96bc785

Please sign in to comment.