Skip to content

Commit 9265e51

Browse files
committed
test: skip snapshot test on aarch64 and version <1.1.4
In the bug fixed in commit 822009c, snapshot compatibility was broken for aarch64. Since the bugfix was backported to 1.1.4, make that the minimum version to run the test. Signed-off-by: Pablo Barbáchano <pablob@amazon.com>
1 parent 3cc09c2 commit 9265e51

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/integration_tests/functional/test_snapshot_advanced.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ def test_restore_old_to_current(bin_cloner_path, firecracker_release):
2929
3030
@type: functional
3131
"""
32+
33+
# due to ARM bug fixed in commit 822009ce
34+
if platform.machine() == "aarch64" and firecracker_release.version_tuple < (
35+
1,
36+
1,
37+
4,
38+
):
39+
pytest.skip("incompatible with aarch64 and Firecracker <1.1.4")
40+
3241
# Microvm: 2vCPU 256MB RAM, balloon, 4 disks and 4 net devices.
3342
logger = logging.getLogger("old_snapshot_many_devices")
3443
builder = MicrovmBuilder(bin_cloner_path)

0 commit comments

Comments
 (0)