From 864904729b0707f1fab1ceb510a36b589047c4f2 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Mon, 7 Mar 2022 14:18:17 +1000 Subject: [PATCH] Fix an intermittent failure in one of the Rust unit tests --- rslib/src/sync/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rslib/src/sync/mod.rs b/rslib/src/sync/mod.rs index 9d36d351c..499ff3712 100644 --- a/rslib/src/sync/mod.rs +++ b/rslib/src/sync/mod.rs @@ -1547,6 +1547,7 @@ mod test { } // removing things like a notetype forces a full sync + std::thread::sleep(std::time::Duration::from_millis(1)); col2.remove_notetype(ntid)?; let out = ctx.normal_sync(&mut col2).await; assert!(matches!(