From 540906c26b4528e9487f03030bea22fe41ee0111 Mon Sep 17 00:00:00 2001 From: Benno Zeeman Date: Tue, 14 Jan 2025 14:11:45 +0100 Subject: [PATCH] test: fix networking async test --- ant-networking/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ant-networking/src/lib.rs b/ant-networking/src/lib.rs index 413c7eb730..2d558fd9f6 100644 --- a/ant-networking/src/lib.rs +++ b/ant-networking/src/lib.rs @@ -1322,8 +1322,8 @@ pub(crate) fn send_network_swarm_cmd( mod tests { use super::*; - #[test] - fn test_network_sign_verify() -> eyre::Result<()> { + #[tokio::test] + async fn test_network_sign_verify() -> eyre::Result<()> { let (network, _, _) = NetworkBuilder::new(Keypair::generate_ed25519(), false).build_client()?; let msg = b"test message";