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):
705705 jailer .download ()
706706
707707 target_version = firecracker .base_name ()[1 :]
708+ # make target version look like X.Y.0
709+ target_version = "." .join (target_version .split ("." )[:2 ] + ["0" ])
708710 # If the version is smaller or equal to 1.0.0, we expect that
709711 # MMDS will be initialised with V1 by default.
710712 if compare_versions (target_version , "1.0.0" ) <= 0 :
@@ -752,6 +754,8 @@ def test_mmds_older_snapshot(bin_cloner_path):
752754 )
753755
754756 fc_version = firecracker .base_name ()[1 :]
757+ # make fc version look like X.Y.0
758+ fc_version = "." .join (fc_version .split ("." )[:2 ] + ["0" ])
755759 # If the version is smaller or equal to 1.0.0, we expect that
756760 # MMDS will be initialised with V1 by default.
757761 # Otherwise, we may configure V2.
You can’t perform that action at this time.
0 commit comments