diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sos_tests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sos_tests.py b/tests/sos_tests.py index 84173cf8..892309b7 100644 --- a/tests/sos_tests.py +++ b/tests/sos_tests.py @@ -65,6 +65,7 @@ class BaseSoSTest(Test): _tmpdir = None _exception_expected = False sos_cmd = '' + sos_timeout = 300 @property def klass_name(self): @@ -117,7 +118,7 @@ class BaseSoSTest(Test): """ exec_cmd = self._generate_sos_command() try: - self.cmd_output = process.run(exec_cmd, timeout=300) + self.cmd_output = process.run(exec_cmd, timeout=self.sos_timeout) except Exception as err: if self._exception_expected: self.cmd_output = err.result |