fix: make sure test for offline user connect then sync failed when one or more future task failed (#525)

This commit is contained in:
Khor Shu Heng 2024-05-07 10:54:40 +08:00 committed by GitHub
parent 48281f43e5
commit 5dbb9d9c86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -643,7 +643,10 @@ async fn simulate_50_offline_user_connect_and_then_sync_document_test() {
}); });
tasks.push(task); tasks.push(task);
} }
let _results = futures::future::join_all(tasks).await; let results = futures::future::join_all(tasks).await;
for result in results {
result.unwrap()
}
} }
// #[tokio::test] // #[tokio::test]