Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portion of FileTreeRepositorySpec fails on GitHub Actions #304

Open
eed3si9n opened this issue Nov 8, 2020 · 0 comments
Open

Portion of FileTreeRepositorySpec fails on GitHub Actions #304

eed3si9n opened this issue Nov 8, 2020 · 0 comments

Comments

@eed3si9n
Copy link
Member

eed3si9n commented Nov 8, 2020

1597832

This part started to fail on GitHub Actions.

      withThread("file-deletion-thread") {
        subdirs.foreach(p => IO.delete(p.toFile))
      } {
        if (!deletionLatch.await(DEFAULT_TIMEOUT * 10)) {
          assert(deletionLatch.getCount == 0)
        }
        c.ls(dir.toGlob / AnyPath) shouldBe Symbol("empty")
      }

I suspect it's more to do with the CI environment of GitHub Actions (Docker container using ubuntu-latest?) than the actual code itself. Something to look into the future may be to create a directory somewhere that is not /tmp since Docker may be doing something weird with /tmp.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant