提交 e6549fca 编写于 作者: L Lucas Meneghel Rodrigues

Merge pull request #1095 from ldoktor/remoter

avocado.core.remoter: Correct the timeout condition
......@@ -102,7 +102,7 @@ class Remote(object):
except fabric.network.NetworkError as details:
fabric_exception = details
timeout = end_time - time.time()
if time.time() < end_time:
if time.time() > end_time:
break
if fabric_result is None:
if fabric_exception is not None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册