Skip to content

Unstable unit test: System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmpty_Success #11558

Closed

Description

@LeafShi1

Related #11227

Test

System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmpty_Success

Issue description

The case failed in PR build, the failed scenario:

  • System.Windows.Forms.Tests.TextBoxBaseTests.TextBoxBase_Copy_PasteNotEmpty_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_PasteNotEmpty_Success() in /_/src/System.Windows.Forms/tests/UnitTests/TextBoxBaseTests.cs:line 4188
  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)

Activity

  1. added
    untriaged
    test-bug
    disabled-test
    and removed
    untriaged
    on Jun 20, 2024
  2. LeafShi1 commented on Jul 25, 2024

    @LeafShi1
    MemberAuthor

    Add the test case to Collection("Sequential") and enable it in PR #11606

  3. locked and limited conversation to collaborators on Aug 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    disabled-testtest-bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions