fprintd: disable flaky test (#334172)

This commit is contained in:
Atemu
2024-10-05 20:09:15 +02:00
committed by GitHub
2 changed files with 18 additions and 0 deletions
+6
View File
@@ -88,6 +88,12 @@ stdenv.mkDerivation rec {
"--no-suite" "fprintd:TestPamFprintd"
];
patches = [
# Skip flaky test "test_removal_during_enroll"
# https://gitlab.freedesktop.org/libfprint/fprintd/-/issues/129
./skip-test-test_removal_during_enroll.patch
];
postPatch = ''
patchShebangs \
po/check-translations.sh \
@@ -0,0 +1,12 @@
diff --git a/tests/fprintd.py b/tests/fprintd.py
index 370d7bb..4e4d78c 100644
--- a/tests/fprintd.py
+++ b/tests/fprintd.py
@@ -1609,6 +1609,7 @@ class FPrintdVirtualDeviceTest(FPrintdVirtualDeviceBaseTest):
time.sleep(1)
def test_removal_during_enroll(self):
+ self.skipTest("flaky test")
if not self._has_hotplug:
self.skipTest("libfprint is too old for hotplug")