Loading tests/harness/gkfs.py +4 −4 Original line number Diff line number Diff line Loading @@ -396,7 +396,7 @@ class ShellClient: return ' '.join(f'{k}="{v}"' for k,v in self._patched_env.items()) def script(self, code, intercept_shell=True, timeout=None, timeout_signal=signal.SIGKILL): def script(self, code, intercept_shell=True, timeout=60, timeout_signal=signal.SIGKILL): """ Execute a shell script passed as an argument in bash. Loading Loading @@ -444,7 +444,7 @@ class ShellClient: If the process does not finish within the timeout, it will be sent the signal defined by `timeout_signal`. Default value: None Default value: 60 timeout_signal: `int` The signal to be sent to the process if `timeout` is not None. Loading Loading @@ -479,7 +479,7 @@ class ShellClient: _ok_code=list(range(0, 256)) ) def run(self, cmd, *args, timeout=None, timeout_signal=signal.SIGKILL): def run(self, cmd, *args, timeout=60, timeout_signal=signal.SIGKILL): """ Execute a shell command with arguments. Loading Loading @@ -507,7 +507,7 @@ class ShellClient: If the process does not finish within the timeout, it will be sent the signal defined by `timeout_signal`. Default value: None Default value: 60 timeout_signal: `int` The signal to be sent to the process if `timeout` is not None. Loading tests/shell/test_cp.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ def test_cp(gkfs_daemon, gkfs_shell, file_factory): lf01 = file_factory.create(file01, size=4.0, unit='MB') logger.info("copying into gkfs") cmd = gkfs_shell.cp(lf01.pathname, gkfs_daemon.mountdir, timeout=60) cmd = gkfs_shell.cp(lf01.pathname, gkfs_daemon.mountdir) assert cmd.exit_code == 0 assert cmd.stdout.decode() == '' assert cmd.stderr.decode() == '' Loading
tests/harness/gkfs.py +4 −4 Original line number Diff line number Diff line Loading @@ -396,7 +396,7 @@ class ShellClient: return ' '.join(f'{k}="{v}"' for k,v in self._patched_env.items()) def script(self, code, intercept_shell=True, timeout=None, timeout_signal=signal.SIGKILL): def script(self, code, intercept_shell=True, timeout=60, timeout_signal=signal.SIGKILL): """ Execute a shell script passed as an argument in bash. Loading Loading @@ -444,7 +444,7 @@ class ShellClient: If the process does not finish within the timeout, it will be sent the signal defined by `timeout_signal`. Default value: None Default value: 60 timeout_signal: `int` The signal to be sent to the process if `timeout` is not None. Loading Loading @@ -479,7 +479,7 @@ class ShellClient: _ok_code=list(range(0, 256)) ) def run(self, cmd, *args, timeout=None, timeout_signal=signal.SIGKILL): def run(self, cmd, *args, timeout=60, timeout_signal=signal.SIGKILL): """ Execute a shell command with arguments. Loading Loading @@ -507,7 +507,7 @@ class ShellClient: If the process does not finish within the timeout, it will be sent the signal defined by `timeout_signal`. Default value: None Default value: 60 timeout_signal: `int` The signal to be sent to the process if `timeout` is not None. Loading
tests/shell/test_cp.py +1 −1 Original line number Diff line number Diff line Loading @@ -22,7 +22,7 @@ def test_cp(gkfs_daemon, gkfs_shell, file_factory): lf01 = file_factory.create(file01, size=4.0, unit='MB') logger.info("copying into gkfs") cmd = gkfs_shell.cp(lf01.pathname, gkfs_daemon.mountdir, timeout=60) cmd = gkfs_shell.cp(lf01.pathname, gkfs_daemon.mountdir) assert cmd.exit_code == 0 assert cmd.stdout.decode() == '' assert cmd.stderr.decode() == ''