Fix an intermittent failure in one of the Rust unit tests

This commit is contained in:
Damien Elmes 2022-03-07 14:18:17 +10:00
parent b8ce480f61
commit 864904729b

View File

@ -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!(