File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
tests/integration_tests/functional Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -705,6 +705,8 @@ def test_mmds_snapshot(bin_cloner_path, version):
705
705
jailer .download ()
706
706
707
707
target_version = firecracker .base_name ()[1 :]
708
+ # make target version look like X.Y.0
709
+ target_version = "." .join (target_version .split ("." )[:2 ] + ["0" ])
708
710
# If the version is smaller or equal to 1.0.0, we expect that
709
711
# MMDS will be initialised with V1 by default.
710
712
if compare_versions (target_version , "1.0.0" ) <= 0 :
@@ -752,6 +754,8 @@ def test_mmds_older_snapshot(bin_cloner_path):
752
754
)
753
755
754
756
fc_version = firecracker .base_name ()[1 :]
757
+ # make fc version look like X.Y.0
758
+ fc_version = "." .join (fc_version .split ("." )[:2 ] + ["0" ])
755
759
# If the version is smaller or equal to 1.0.0, we expect that
756
760
# MMDS will be initialised with V1 by default.
757
761
# Otherwise, we may configure V2.
You can’t perform that action at this time.
0 commit comments