Skip to content

Commit b696e2d

Browse files
committed
orchestratord test: Change upgrade order
1 parent 13e7ec6 commit b696e2d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/orchestratord/mzcompose.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1806,18 +1806,14 @@ def run_scenario(
18061806
mod.modify(definition)
18071807
if mod.value in mod.failed_reconciliation_values():
18081808
expect_fail = True
1809-
if not initialize:
1810-
definition["materialize"]["spec"][
1811-
"rolloutStrategy"
1812-
] = "ImmediatelyPromoteCausingDowntime"
1813-
definition["materialize"]["spec"]["requestRollout"] = str(uuid.uuid4())
1814-
run(definition, expect_fail)
18151809
if initialize:
18161810
init(definition)
18171811
run(definition, expect_fail)
18181812
initialize = False # only initialize once
18191813
else:
18201814
upgrade(definition, expect_fail)
1815+
definition["materialize"]["spec"]["requestRollout"] = str(uuid.uuid4())
1816+
run(definition, expect_fail)
18211817
mod_dict = {mod.__class__: mod.value for mod in mods}
18221818
for subclass in all_subclasses(Modification):
18231819
if subclass not in mod_dict:

0 commit comments

Comments
 (0)