haskell / haskell/cabal

Tests UpdateIndexState and ExtraProgPath are weak/fragile

Open
#9,657 1 comment 0 reactions 0 assignees View on GitHub
cabal-testsuite needs triage type: bug type: testing
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

While working on https://github.com/haskell/cabal/pull/9609 (now merged), @tomsmeding discovered that the test cabal-testsuite/PackageTests/ExtraProgPath doesn't contain any `assertOutputContains`, but only requires a failure, which resulted in accepting a failure due to totally unrelated reasons. Also, the test cabal-testsuite/PackageTests/NewUpdate/UpdateIndexState uses port 8000, which sometimes makes it fail, because the port is popular and so often busy. I wonder how the other tests do that --- maybe it makes the most sense to choose a port similar, but different to what other tests choose.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.