reagents icon indicating copy to clipboard operation
reagents copied to clipboard

Timeouts in tests

Open bartoszmodelski opened this issue 2 years ago • 2 comments

The CI is occasionally hanging and failing after a 60m wait. I suspect that one of the tests deadlocks. Let's add timeouts to all of them, which is nice to have anyway.

bartoszmodelski avatar Mar 07 '23 20:03 bartoszmodelski

I noticed that the dining philosophers test seems to hang on my machine frequently. It sometimes passes quickly, but other times it doesn't seem to terminate at all with CPU usage at roughly 300%.

polytypic avatar Apr 03 '23 09:04 polytypic

Agreed the dining philosophers seem to be the problem.

When I looked at this a while ago, I was moving towards the conclusion, that the solution for dining philosophers problem in the test is not a valid solution (rather than it being a manifestation of an internal issue in reagents).

bartoszmodelski avatar May 18 '23 09:05 bartoszmodelski