mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
fprintd: disable flaky test (#334172)
This commit is contained in:
commit
fdd066e9cf
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user