blob: 0b2ac120402ecc2d72e172d96db2d6445e234c9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff --git a/test/test.py b/test/test.py
index c89912a..eedfe36 100755
--- a/test/test.py
+++ b/test/test.py
@@ -1362,4 +1362,4 @@ class TestBashGlobal(TestBash):
- install_output = self.sh.run_command(command)
+ install_output = self.sh.run_command(command, timeout=300)
self.assertEqual(self.sh.run_command("echo $?"), "0\r\n", install_output)
command = "test-module"
if package:
@@ -1395,8 +1395,8 @@ class Shell:
def run_command(self, command):
try:
self.child.sendline(r"echo -n \#\#\#; {0}; echo -n \#\#\#".format(command))
- self.child.expect_exact("###", timeout=5)
- self.child.expect_exact("###", timeout=5)
+ self.child.expect_exact("###", timeout=30)
+ self.child.expect_exact("###", timeout=30)
return self.child.before
finally:
# Send Ctrl+C in case we get stuck.
|