Skip to content

System.Drawing.Common.Tests fails during libraries test run #8845

@buyaa-n

Description

@buyaa-n

Found while running all tests in libraries, running tests manually from the individual project also fails.

System.Drawing.Tests.BitmapTests.SaveWmfAsPngDoesntChangeImageBoundaries [FAIL]
        Assert.Equal() Failure
                              ↓ (pos 19)
        Expected: [..., 0, 1, 68, 0, 0, ...]
        Actual:   [..., 0, 1, 149, 0, 0, ...]
                              ↑ (pos 19)
        Stack Trace:
          D:\dotnet\runtime\src\libraries\System.Drawing.Common\tests\BitmapTests.cs(821,0): at System.Drawing.Tests.BitmapTests.SaveWmfAsPngDoesntChangeImageBoundaries()
             at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
          D:\dotnet\runtime\src\coreclr\System.Private.CoreLib\src\System\Reflection\RuntimeMethodInfo.CoreCLR.cs(387,0): at System.Reflection.RuntimeMethodInfo.InvokeNonEmitUnsafe(Object obj, IntPtr* arguments, Span`1 argsForTemporaryMonoSupport, BindingFlags invokeAttr)

Failing with clean build having no any changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.DrawingSystem.Drawing issuesdisabled-testTracking tests that have been disabled to prevent run failures.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions