|
|
|
@ -285,7 +285,6 @@ mod tests { |
|
|
|
let stream = TcpStream::connect(address).await.unwrap();
|
|
|
|
let channel = Channel::<u32, u32>::new(stream);
|
|
|
|
|
|
|
|
// Send a message, then close the channel.
|
|
|
|
let (tx, rx) = oneshot::channel::<()>();
|
|
|
|
|
|
|
|
// Send one message then wait for a reply. If we did not wait, we might
|
|
|
|
|