mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 23:12:21 -04:00
Fix an intermittent failure in one of the Rust unit tests
This commit is contained in:
parent
b8ce480f61
commit
864904729b
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue