Skip to content

Test Tree shows duplicate nodes after running tests multiple times concurrently #2934

Closed

Description

@haashem

Describe the bug
Test summary panel, shows incorrect test groups count after a few run

To Reproduce
Steps to reproduce the behavior:

  1. Go to Test Panel
  2. Click on Run or Debug buttons rapidly

Expected behavior
Test group count should not change

Screenshots
Screen Shot 2020-11-04 at 8 10 37 PM

Versions (please complete the following information):

  • VS Code version: 1.50.1
  • Dart extension version: 3.16
  • Dart/Flutter SDK version: 1.22.2

Activity

  1. added this to the v3.17.0 milestone on Nov 5, 2020
  2. added
    in testingRelates to test execution of Dart/Flutter tests for end users
    on Nov 5, 2020
  3. DanTup commented on Nov 17, 2020

    @DanTup
    Member

    I'm struggling to reproduce this - can you confirm how you're re-running the test? Which run/debug links? How consistently does it occur?

  4. added
    awaiting infoRequires more information from the customer to progress
    on Nov 17, 2020
  5. haashem commented on Nov 17, 2020

    @haashem
    Author

    Try to click on run group test rapidly, multiple times click on run before previous group test has finished. you will see the strange bug.

    it happens for both run and debug buttons

  6. DanTup commented on Nov 17, 2020

    @DanTup
    Member

    Aha, got it - I added a delay in my tests to force them to overlap and it happens. I'll take a look, thanks!

  7. removed
    awaiting infoRequires more information from the customer to progress
    on Nov 17, 2020
  8. changed the title [-]Test summary panel, shows incorrect test groups count after a few run[/-] [+]Test Tree shows duplicate nodes after running tests multiple times concurrently[/+] on Nov 17, 2020
  9. added a commit that references this issue on Nov 18, 2020
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

    in testingRelates to test execution of Dart/Flutter tests for end usersis bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions