From 0b50ae18952ca7d858fcad064c3c253f988906b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20G=C3=B6hrs?= Date: Thu, 14 Nov 2024 13:43:38 +0100 Subject: [PATCH] test_system0_filesystem_sizes: Remove XFAIL mark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A fix is merged in meta-lxatac that should fix this issue: https://github.com/linux-automation/meta-lxatac/pull/206 If it is not indeed fixed or returns we want the test to fail again. Signed-off-by: Leonard Göhrs --- tests/test_filesystems.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tests/test_filesystems.py b/tests/test_filesystems.py index c6e5870..f28bb2d 100644 --- a/tests/test_filesystems.py +++ b/tests/test_filesystems.py @@ -1,7 +1,5 @@ import json -import pytest - KILO = 1_000 MEGA = 1_000 * KILO GIGA = 1_000 * MEGA @@ -19,13 +17,6 @@ def test_partition_sizes(shell): assert part_sizes["mmcblk1p3"] in range(8 * GIGA, 16 * GIGA) -@pytest.mark.xfail( - reason="There is a known bug, in which directories are created in `/srv` during the first boot. " - "If this happens `/srv` will not be mounted with the correct partition on consecutive boots in this slot. " - "Since we have r/w root-partition most of the system behaves as expected. " - "But changes to /srv are lost on update. " - "This behavior needs to be fixed - but is currently expected to fail." -) def test_filesystem_sizes(shell): # / should have some spare space available stdout = shell.run_check("findmnt -b --json -o SIZE,USED /")