From 4204a8d5505d7e66ef32d4e51c3a2fed55a16a15 Mon Sep 17 00:00:00 2001 From: Michael Peyton Jones Date: Fri, 1 Jul 2022 11:58:47 +0100 Subject: [PATCH] Disable flaky test on Windows I don't think anyone is going to fix this soon, let's just disable it so we can move on. Fixes #2997. --- ghcide/test/exe/Main.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ghcide/test/exe/Main.hs b/ghcide/test/exe/Main.hs index af8ae70de2..2b0dfd0ddb 100644 --- a/ghcide/test/exe/Main.hs +++ b/ghcide/test/exe/Main.hs @@ -4439,7 +4439,11 @@ findDefinitionAndHoverTests = let , test no yes holeL65 hleInfo2 "hole with variable" , test no yes cccL17 docLink "Haddock html links" , testM yes yes imported importedSig "Imported symbol" - , testM yes yes reexported reexportedSig "Imported symbol (reexported)" + , if | isWindows -> + -- Flaky on Windows: https://github.com/haskell/haskell-language-server/issues/2997 + testM no yes reexported reexportedSig "Imported symbol (reexported)" + | otherwise -> + testM yes yes reexported reexportedSig "Imported symbol (reexported)" , if | ghcVersion == GHC90 && isWindows -> test no broken thLocL57 thLoc "TH Splice Hover" | ghcVersion == GHC92 && (isWindows || isMac) ->