From 6b7ee102874327c60e2cd2e311d31d7d2d0cf010 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Tue, 23 Nov 2021 11:25:04 +0100 Subject: [PATCH] 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. --- crates/editor/src/display_map.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/editor/src/display_map.rs b/crates/editor/src/display_map.rs index 14fa4a9146..e0ead12674 100644 --- a/crates/editor/src/display_map.rs +++ b/crates/editor/src/display_map.rs @@ -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();