Skip to content

Commit

Permalink
fix(tests): smaller distro version string check
Browse files Browse the repository at this point in the history
Because patch versions of the distro we use
can change with rootfs updates, it is better
to search only for major and minor versions.

Signed-off-by: Egor Lazarchuk <yegorlz@amazon.co.uk>
  • Loading branch information
ShadowCurse committed Sep 25, 2023
1 parent 8aa8043 commit d1cb00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration_tests/functional/test_kernel_cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ def test_init_params(test_microvm_with_api):
serial = Serial(vm)
serial.open()
# If the string does not show up, the test will fail.
serial.rx(token="Ubuntu 22.04.2 LTS")
serial.rx(token="Ubuntu 22.04")

0 comments on commit d1cb00e

Please sign in to comment.