diff --git a/aardvark-node/src/network.rs b/aardvark-node/src/network.rs index bf0b118..6c176b4 100644 --- a/aardvark-node/src/network.rs +++ b/aardvark-node/src/network.rs @@ -451,8 +451,11 @@ mod tests { .await .unwrap(); + assert!(!join_handle.is_finished()); + unsubscribe_tx.send(()).unwrap(); let result = join_handle.await.unwrap(); + assert!(result.is_ok()); } }