Skip to content

Commit

Permalink
Small test improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
sandreae committed Dec 27, 2024
1 parent fb7b3f5 commit 50d13c4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aardvark-node/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
}

0 comments on commit 50d13c4

Please sign in to comment.