Skip to content

Commit

Permalink
and fix rust test
Browse files Browse the repository at this point in the history
  • Loading branch information
ibc committed Dec 12, 2023
1 parent 712c930 commit 2b3e88f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions rust/tests/integration/data_consumer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -327,12 +327,10 @@ fn set_subchannels() {
let (_worker, _router, transport1, data_producer) = init().await;

let data_consumer = transport1
.consume_data({
DataConsumerOptions::new_sctp_unordered_with_life_time(
data_producer.id(),
4000,
);
})
.consume_data(DataConsumerOptions::new_sctp_unordered_with_life_time(
data_producer.id(),
4000,
))
.await
.expect("Failed to consume data");

Expand Down

0 comments on commit 2b3e88f

Please sign in to comment.