From 8656948d488b205ee1b25ffe4c85e51ad09df345 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Mon, 22 Jul 2024 13:29:01 +0100 Subject: test: increase rexpect timeout 2s ~> 3s to avoid tests intermitantly failing when there is no problem --- test_utils/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test_utils') diff --git a/test_utils/src/lib.rs b/test_utils/src/lib.rs index a3ffd70..a2ed5f2 100644 --- a/test_utils/src/lib.rs +++ b/test_utils/src/lib.rs @@ -694,7 +694,7 @@ impl CliTester { S: AsRef, { Self { - rexpect_session: rexpect_with(args, 2000).expect("rexpect to spawn new process"), + rexpect_session: rexpect_with(args, 3000).expect("rexpect to spawn new process"), formatter: ColorfulTheme::default(), } } @@ -704,7 +704,7 @@ impl CliTester { S: AsRef, { Self { - rexpect_session: rexpect_with_from_dir(dir, args, 2000) + rexpect_session: rexpect_with_from_dir(dir, args, 3000) .expect("rexpect to spawn new process"), formatter: ColorfulTheme::default(), } @@ -730,7 +730,7 @@ impl CliTester { .process .exit() .expect("process to exit"); - self.rexpect_session = rexpect_with(args, 2000).expect("rexpect to spawn new process"); + self.rexpect_session = rexpect_with(args, 3000).expect("rexpect to spawn new process"); self } -- cgit v1.2.3