fprintd: disable flaky test (#334172)

This commit is contained in:
Atemu 2024-10-05 20:09:15 +02:00 committed by GitHub
commit fdd066e9cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View File

@ -88,6 +88,12 @@ stdenv.mkDerivation rec {
"--no-suite" "fprintd:TestPamFprintd" "--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 = '' postPatch = ''
patchShebangs \ patchShebangs \
po/check-translations.sh \ po/check-translations.sh \

View File

@ -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")