From 6d411f0fca9d617cb50559b1ce8c9e057c067807 Mon Sep 17 00:00:00 2001 From: Guilherme Date: Thu, 9 Sep 2021 18:17:41 +0200 Subject: [PATCH] Fix tests --- Cargo.lock | 2 +- feattle-sync/src/background_sync.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 5d4228c..e9dba03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -264,7 +264,7 @@ dependencies = [ [[package]] name = "feattle-core" -version = "0.6.0" +version = "0.7.0" dependencies = [ "async-trait", "chrono", diff --git a/feattle-sync/src/background_sync.rs b/feattle-sync/src/background_sync.rs index 31adf2a..b1f6459 100644 --- a/feattle-sync/src/background_sync.rs +++ b/feattle-sync/src/background_sync.rs @@ -184,6 +184,7 @@ mod tests { break; } tokio::task::yield_now().await; + time::sleep(Duration::from_millis(100)).await; } // No more updates