Retry flaky test_soft_wraps 5 times before giving up

We have other tests that rely on loading fonts that intermittently
fail on CI and for which we used the same mitigation.
This commit is contained in:
Antonio Scandurra 2021-11-23 11:25:04 +01:00
parent 6df266348e
commit 6b7ee10287

View file

@ -619,7 +619,7 @@ mod tests {
}
}
#[gpui::test]
#[gpui::test(retries = 5)]
fn test_soft_wraps(cx: &mut MutableAppContext) {
cx.foreground().set_block_on_ticks(usize::MAX..=usize::MAX);
cx.foreground().forbid_parking();