This repository contains a reproduce case for the problem described at microsoft/vstest#3085 regarding random crashes when using System.Drawing
in a Docker container.
Tests always succeed.
- Tests randomly succeed or fail.
- It only happens when two tests in different test classes are using a
Graphics
object. - The test to blame (
dotnet test --blame
) is random.
docker build -t my-tests .
docker run -it my-tests
- Wait till it crashes. It often occures within 10 runs.