Visitar URL original
Tests' handling of timeouts, temp dirs flaky on linux · Issue #410 · ndmitchell/ghcid · GitHub
Skip to content

Tests' handling of timeouts, temp dirs flaky on linux #410

Open

Description

@hseg

I'm getting inconsistent results running the test suite on Arch Linux since 4f57594, and subsequent commits don't seem to fix it.
These seem to be localised to Ghcid basic and Cd basic, with the former sometimes timing out after 30s (despite me trying to bump the timeouts in all places I found them) and both sometimes complaining the temporary files they create have vanished from under them.

Moreover, API test has started complaining that eg

Couldn't run test because test source is missing, test/bar

between two runs of No files?

I've also seen (much more rarely)

    Ghcid .ghci
      Exception: test/foo/./Paths.hs: copyFile:atomicCopyFileContents:withReplacementFile:copyFileToHandle:openFdAt: does not exist (No such file or directory)

Unclear what's going on, my usual strategies for trying to isolate the problem are failing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions