Make the infinite test non-infinite

This commit is contained in:
Luke Parker 2022-10-16 10:25:36 -04:00
parent 329a48c19d
commit 1c71e25234
No known key found for this signature in database
GPG key ID: F9F1386DB1E119B6

View file

@ -124,7 +124,7 @@ impl TestNetwork {
#[tokio::test]
async fn test() {
TestNetwork::new(4).await;
loop {
for _ in 0 .. 100 {
tokio::task::yield_now().await;
}
}