From 50d13c4fd794e5edd5f100da03fa092074319be7 Mon Sep 17 00:00:00 2001 From: Sam Andreae Date: Fri, 27 Dec 2024 06:30:35 +0000 Subject: [PATCH] Small test improvement --- aardvark-node/src/network.rs | 3 +++ 1 file changed, 3 insertions(+) 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()); } }