Skip to content
Snippets Groups Projects
Commit 64578b37 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

[experiments] Fix cancelled experiment refreshing bug

parent a6730060
No related branches found
No related tags found
1 merge request!194Scheduler
Pipeline #
...@@ -769,7 +769,10 @@ class Experiment(Shareable): ...@@ -769,7 +769,10 @@ class Experiment(Shareable):
# Process main state and state from job results # Process main state and state from job results
if Block.FAILED in block_statuses or Block.CANCELLED in block_statuses: if Block.FAILED in block_statuses or Block.CANCELLED in block_statuses:
self.status = Experiment.FAILED if Block.PROCESSING in block_statuses:
self.status = Experiment.CANCELING
else:
self.status = Experiment.FAILED
elif (Block.PROCESSING in block_statuses) or \ elif (Block.PROCESSING in block_statuses) or \
((Block.NOT_CACHED in block_statuses or \ ((Block.NOT_CACHED in block_statuses or \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment