Skip to content

Portion of FileTreeRepositorySpec fails on GitHub Actions #304

@eed3si9n

Description

@eed3si9n

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions