From edbaeb97ce8419909da0ad7aa2cfff1bd7847955 Mon Sep 17 00:00:00 2001 From: yaokai13 Date: Thu, 3 Dec 2020 09:57:31 +0800 Subject: [PATCH] fix timeout problem --- common/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common.py b/common/common.py index a1739cb..098ca4f 100644 --- a/common/common.py +++ b/common/common.py @@ -82,7 +82,7 @@ class Pexpect(object): if ret == 3 or ret == 4: break - def ssh_cmd(self, cmd, timeout=30): + def ssh_cmd(self, cmd, timeout=120): """ cmd: command will be runnd return: response of command -- Gitee