Commit 9116e87e authored by Sergei Trofimovich's avatar Sergei Trofimovich
Browse files

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.
parent 4c37153a
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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 = {