Running test on a local agent ends randomly with : “The active test run was aborted. Reason: Test host process crashed”
I have a CI/CD set up on Azure DevOps. When I run unit tests on the CI, everything works fine. For some specific hardware needs, I have set up a local agent on a computer to run the same tests, the thing is, as title says, it randomly (i.e. not every run) crashes with the message “The active test run was aborted. Reason: Test host process crashed” and nothing more, no stack, no exception, nothing. It doesn’t even break the test run, it runs more tests after that according to logs.