Commit fd121c8e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix assertion error on unclean master shutdown

Commit 66bd7445

 added an assertion to ensure a finalized job has its
“end_timestamp” attribute set. Unfortunately it didn't cover a case when
the queue is recovering from an unclean master shutdown.
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
Reviewed-by: default avatarRené Nussbaumer <>
(cherry picked from commit 45df0793)
parent e4a48c7b
......@@ -1289,6 +1289,7 @@ class JobQueue(object):
"Unclean master daemon shutdown")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment