diff --git a/optional_plugins/runner_remote/avocado_runner_remote/__init__.py b/optional_plugins/runner_remote/avocado_runner_remote/__init__.py index 84bd1b7c4bc737d8d227bf5b9ab5422ecaf40c7f..5ff38ca163510fb8080c62559cccb102b3af17f0 100644 --- a/optional_plugins/runner_remote/avocado_runner_remote/__init__.py +++ b/optional_plugins/runner_remote/avocado_runner_remote/__init__.py @@ -104,7 +104,7 @@ def run(command, ignore_status=False, quiet=True, timeout=60): 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: