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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user