upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanConwayDev <DanConwayDev@protonmail.com>2024-07-22 13:29:01 +0100
committerDanConwayDev <DanConwayDev@protonmail.com>2024-07-22 13:29:01 +0100
commit8656948d488b205ee1b25ffe4c85e51ad09df345 (patch)
tree0a5071b2f95dc1b17a3871a02f1da74538406290
parent2411abc047b0abbd7b1c24b80d21f1bc9755cbe4 (diff)
test: increase rexpect timeout 2s ~> 3s
to avoid tests intermitantly failing when there is no problem
-rw-r--r--test_utils/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
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 {
694 S: AsRef<OsStr>, 694 S: AsRef<OsStr>,
695 { 695 {
696 Self { 696 Self {
697 rexpect_session: rexpect_with(args, 2000).expect("rexpect to spawn new process"), 697 rexpect_session: rexpect_with(args, 3000).expect("rexpect to spawn new process"),
698 formatter: ColorfulTheme::default(), 698 formatter: ColorfulTheme::default(),
699 } 699 }
700 } 700 }
@@ -704,7 +704,7 @@ impl CliTester {
704 S: AsRef<OsStr>, 704 S: AsRef<OsStr>,
705 { 705 {
706 Self { 706 Self {
707 rexpect_session: rexpect_with_from_dir(dir, args, 2000) 707 rexpect_session: rexpect_with_from_dir(dir, args, 3000)
708 .expect("rexpect to spawn new process"), 708 .expect("rexpect to spawn new process"),
709 formatter: ColorfulTheme::default(), 709 formatter: ColorfulTheme::default(),
710 } 710 }
@@ -730,7 +730,7 @@ impl CliTester {
730 .process 730 .process
731 .exit() 731 .exit()
732 .expect("process to exit"); 732 .expect("process to exit");
733 self.rexpect_session = rexpect_with(args, 2000).expect("rexpect to spawn new process"); 733 self.rexpect_session = rexpect_with(args, 3000).expect("rexpect to spawn new process");
734 self 734 self
735 } 735 }
736 736