scala-cli icon indicating copy to clipboard operation
scala-cli copied to clipboard

Make wonky `--watch` tests pass on native Mac OS CI

Open Gedochao opened this issue 2 years ago • 1 comments

Created from a comment by @tgodzik in https://github.com/VirtusLab/scala-cli/pull/2515#discussion_r1385109752

RunTestsDefault.watch artifacts & BloopTests.Restart Bloop server while watching were intermittently failing on native Mac OS CI (and thus blocking it, as 5+ restarts were required for each job), so they are currently disabled for that particular setup (they're still being run for native Linux, native Windows and JVM).

We need to figure out why they fail on Mac in particular and re-enable them there.

Note: I was not able to replicate the problems on my local Mac, the issue seems to only occur on our CI

Gedochao avatar Nov 08 '23 07:11 Gedochao

This now applies to most tests in scala.cli.integration.RunWithWatchTestDefinitions (appropriate TODO comments are in place). Also see:

  • https://github.com/VirtusLab/scala-cli/pull/3175
  • https://github.com/VirtusLab/scala-cli/pull/3218
  • https://github.com/VirtusLab/scala-cli/pull/3221

Gedochao avatar Oct 18 '24 17:10 Gedochao