diff --git a/cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/cabal.test.hs b/cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/cabal.test.hs index 8d22aed3494..475a093360d 100644 --- a/cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/cabal.test.hs +++ b/cabal-testsuite/PackageTests/NewUpdate/RejectFutureIndexStates/cabal.test.hs @@ -1,10 +1,14 @@ import Test.Cabal.Prelude import Data.List (isPrefixOf) -main = cabalTest $ withProjectFile "cabal.project" $ withRemoteRepo "repo" $ do +main = cabalTest $ do skip "Flaky test failing in `curl`, see #9530" + testBody + +testBody = withProjectFile "cabal.project" $ withRemoteRepo "repo" $ do + output <- last . words . head diff --git a/cabal-testsuite/PackageTests/NewUpdate/UpdateIndexState/update-index-state.test.hs b/cabal-testsuite/PackageTests/NewUpdate/UpdateIndexState/update-index-state.test.hs index 24b1e7b5dd6..e6485d51f71 100644 --- a/cabal-testsuite/PackageTests/NewUpdate/UpdateIndexState/update-index-state.test.hs +++ b/cabal-testsuite/PackageTests/NewUpdate/UpdateIndexState/update-index-state.test.hs @@ -1,9 +1,13 @@ import Test.Cabal.Prelude -main = cabalTest $ withRemoteRepo "repo" $ do +main = cabalTest $ do skip "Flaky test failing in `curl`, see #9530" + testBody + +testBody = withRemoteRepo "repo" $ do + -- The _first_ update call causes a warning about missing mirrors, the warning -- is platform-dependent and it's not part of the test expectations, so we -- check the output manually.