winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Unstable unit test: System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmptyWithHandle_Success

Open LeafShi1 opened this issue 1 year ago • 0 comments

Related https://github.com/dotnet/winforms/issues/11227

Test

Unstable unit test: System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmptyWithHandle_Success

Issue description

The case failed in PR build, the failed scenario:

  • System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmptyWithHandle_Success

Error Message:

  • In X86 unit:

    • Assert.Equal() Failure: Strings differ ↓ (pos 0) Expected: "bcxt" Actual: "xt" ↑ (pos 0)

Stack trace:

   at System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmptyWithHandle_Success() in /_/src/System.Windows.Forms/tests/UnitTests/TextBoxBaseTests.cs:line 4246
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)

LeafShi1 avatar Jun 06 '24 07:06 LeafShi1