From 82828589417c3f30ebb6839e797ff7404259adfd Mon Sep 17 00:00:00 2001 From: Mikayla Maki Date: Fri, 15 Jul 2022 11:30:14 -0700 Subject: [PATCH] Updated copy integration test to match retries on terminal integration test --- crates/terminal/src/terminal.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rs index c2d8fc1bab..9f5ab4ce7f 100644 --- a/crates/terminal/src/terminal.rs +++ b/crates/terminal/src/terminal.rs @@ -496,11 +496,11 @@ mod tests { } /// Integration test for selections, clipboard, and terminal execution - #[gpui::test] + #[gpui::test(retries = 5)] async fn test_copy(cx: &mut TestAppContext) { let mut result_line: i32 = 0; let terminal = cx.add_view(Default::default(), |cx| Terminal::new(None, false, cx)); - cx.set_condition_duration(Some(Duration::from_secs(2))); + cx.set_condition_duration(Some(Duration::from_secs(5))); terminal.update(cx, |terminal, cx| { terminal.connection.update(cx, |connection, _| {