Closed biozz closed 4 years ago
Well, at least now it passes the CI :) . Maybe we could make the MacOS mandatory in Github Actions now?
I made MacOS test mandatory, but we might have to play around with the chunk size a bit, because I noticed that even tests on Ubuntu can randomly fail (max_cpu). Re-running jobs works though.
Let's try with this :) .
Closes #1140.
I went through the test call-stack and found that the file which is used to test max memory is written before the the watcher is able to check the memory usage. Therefore the test fails.
The quickest solution is to add more chunks or increase chunk size so there will be enough time for the resource watcher to start and check system stats.
Playing with the chunk size is more of a workaround and not the actual fix, because the success rate of the test would highly depend on the machine, where tests are performed.