Fix an intermittent failure in one of the Rust unit tests
This commit is contained in:
parent
b8ce480f61
commit
864904729b
@ -1547,6 +1547,7 @@ mod test {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// removing things like a notetype forces a full sync
|
// removing things like a notetype forces a full sync
|
||||||
|
std::thread::sleep(std::time::Duration::from_millis(1));
|
||||||
col2.remove_notetype(ntid)?;
|
col2.remove_notetype(ntid)?;
|
||||||
let out = ctx.normal_sync(&mut col2).await;
|
let out = ctx.normal_sync(&mut col2).await;
|
||||||
assert!(matches!(
|
assert!(matches!(
|
||||||
|
Loading…
Reference in New Issue
Block a user