mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-05-11 10:34:30 +08:00
Allow resuming from a failure during the "init" phase
This also shifts build failure transitions from individual functions in utils.py to the init module handler.
This commit is contained in:
@@ -147,4 +147,4 @@ class TestModuleInit(unittest.TestCase):
|
||||
session.refresh(build)
|
||||
# Make sure the module entered the failed state
|
||||
assert build.state == 4, build.state
|
||||
assert 'Failed to validate modulemd file' in build.state_reason
|
||||
assert 'Failed to get the latest commit for' in build.state_reason
|
||||
|
||||
Reference in New Issue
Block a user