1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

xdg-desktop-portal: disable known flaky tests (set TEST_IN_CI)

There are a few tests that are fkay in hydra. Most fauly one seems to be
`monitor` test from `test-portals-inhibit` suite. Upstream already skips
it for `TEST_IN_CI` case. Let's set the variable as well to skip these
tests.
This commit is contained in:
Sergei Trofimovich 2023-12-07 13:27:26 +00:00
parent 4c37153a2c
commit 9116e87e69

View file

@ -117,6 +117,12 @@ stdenv.mkDerivation (finalAttrs: {
preCheck = ''
# For test_trash_file
export HOME=$(mktemp -d)
# Upstream disables a few tests in CI upstream as they are known to
# be flaky. Let's disable those downstream as hydra exhibits similar
# flakes:
# https://github.com/NixOS/nixpkgs/pull/270085#issuecomment-1840053951
export TEST_IN_CI=1
'';
passthru = {