Skip to content

Flaky testsuit track list #4193

Open
Open
@soulomoon

Description

@soulomoon

Trackers

Some tests are really falky, it is important for us to take a look and solve them.It is crucial important to the HLS stability.
It should be part of #3736

PS. I am doing some migration in #4173 collecting these

Set up long run CI to test the flaky test for 500 times

We can set up a standard to verify a flaky test is gone by running it consectively 500 times.
Since our CI is likely to miss this, we can set up a long running CI elsewhere to track our main branch and run the flaky test we pick, so we can see status of it .

@jhrcek already develop a script to run these test. we can build the long running CI based on it

# recommended to build test binary separately and then run it in a loop (to avoid running cabal test in a loop)
# Run tests in a loop
for i in {1..500}; do
    echo "Iteration $i" &&
    LSP_TEST_LOG_MESSAGES=0 LSP_TEST_LOG_STDERR=0 TASTY_PATTERN="Notification Handlers" $(find dist-newstyle -name ghcide-tests -type f | head -n 1) \
    || {
        echo "Warning: error at iteration $i"
        break
        }; done

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIContinuous integrationcomponent: cliAbout the pure command line interface of the hls executableflaky testtype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..type: enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions