Skip to content

Commit ab2a935

Browse files
Add old s390x snap revision to fix upgrade test
1 parent 589fa09 commit ab2a935

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/integration/test_upgrade.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,10 @@ def create_valid_upgrade_charm(charm_file: typing.Union[str, pathlib.Path]) -> N
214214

215215
# charm needs to refresh snap to be able to avoid no-op when upgrading.
216216
# set an old revision of the snap
217-
versions["snap"]["revisions"]["x86_64"] = "121"
218-
versions["snap"]["revisions"]["aarch64"] = "122"
219-
versions["workload"] = "8.0.39"
217+
versions["snap"]["revisions"]["x86_64"] = "148"
218+
versions["snap"]["revisions"]["aarch64"] = "150"
219+
versions["snap"]["revisions"]["s390x"] = "149"
220+
versions["workload"] = "8.0.42"
220221

221222
with zipfile.ZipFile(charm_file, mode="a") as charm_zip:
222223
charm_zip.writestr("refresh_versions.toml", tomli_w.dumps(versions))

0 commit comments

Comments
 (0)