Skip to content

Commit 8d84b31

Browse files
committed
Timeout to Libdoc tests to avoid hanging
1 parent dd9a3ca commit 8d84b31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atest/robot/libdoc/LibDocLib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def run_libdoc(self, args):
2727
cmd[-1] = cmd[-1].replace('/', os.sep)
2828
logger.info(' '.join(cmd))
2929
result = run(cmd, cwd=join(ROOT, 'src'), stdout=PIPE, stderr=STDOUT,
30-
encoding=self.encoding, universal_newlines=True)
30+
encoding=self.encoding, timeout=120, universal_newlines=True)
3131
logger.info(result.stdout)
3232
return result.stdout
3333

0 commit comments

Comments
 (0)