From b33fd1829def2b50e70c6b56c237efccefbd4520 Mon Sep 17 00:00:00 2001 From: Tommy Persson <tommy.persson@liu.se> Date: Mon, 5 Jun 2023 13:23:45 +0200 Subject: [PATCH] Bug fix remote --- lrs_exec/executors/remote.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lrs_exec/executors/remote.py b/lrs_exec/executors/remote.py index 786e816..5f4b97d 100644 --- a/lrs_exec/executors/remote.py +++ b/lrs_exec/executors/remote.py @@ -183,10 +183,12 @@ class RemoteExecutor(TickedExecutor): self.fail(f"start tst failed: {fail_reason}") return else: - if jobj["response"] != "running": + if jobj["response"] != "running" and jobj["response"] != "finished": fail_reason = jobj["fail-reason"] - self.fail(f"start tst failed: {fail_reason}") + self.fail(f"start task failed: {fail_reason}") return + if jobj["response"] != "finished": + finished_flag = True if self.root_uuid in self.feedback: -- GitLab