Skip to content

Commit

Permalink
directly use DataConsumer in test
Browse files Browse the repository at this point in the history
Rather than DirectDataConsumer.
  • Loading branch information
jmillan committed Dec 12, 2023
1 parent 5a0cc38 commit 449a7e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/tests/integration/direct_transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ fn send_with_subchannels_succeeds() {
}
};

let direct_data_consumer_2 = match &data_consumer_2 {
let _ = match &data_consumer_2 {
DataConsumer::Direct(direct_data_consumer) => direct_data_consumer,
_ => {
panic!("Expected direct data consumer")
Expand Down Expand Up @@ -514,7 +514,7 @@ fn send_with_subchannels_succeeds() {
let mut subchannels = data_consumer_2.subchannels();
subchannels.push(1);

direct_data_consumer_2
data_consumer_2
.set_subchannels(subchannels)
.await
.expect("Failed to set subchannels");
Expand Down

0 comments on commit 449a7e1

Please sign in to comment.