mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 21:19:24 +00:00
Make the infinite test non-infinite
This commit is contained in:
@@ -124,7 +124,7 @@ impl TestNetwork {
|
|||||||
#[tokio::test]
|
#[tokio::test]
|
||||||
async fn test() {
|
async fn test() {
|
||||||
TestNetwork::new(4).await;
|
TestNetwork::new(4).await;
|
||||||
loop {
|
for _ in 0 .. 100 {
|
||||||
tokio::task::yield_now().await;
|
tokio::task::yield_now().await;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user