Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17573

Flaky Tests in HelpSupportTestCase due to SynopsisGenerator.java

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • CLI
    • None
    • Undefined
    • ---
    • ---

    Description

      The test HelpSupportTestCase#testStandalone is flaky because it calls SynopsisGenerator which uses a HashSet as its data structure for the conflicts object. When comparing the conflicts object with the expected test results with assertEquals the test is flaky as HashSet does not maintain order. Fix: Changed the conflicts and conflicts2 objects from HashSet to LinkedHashSet in method SynopsisGenerator#addSynopsisOption(SynopsisOption).

      Attachments

        Issue Links

          Activity

            People

              vidishabhat18 Vidisha B (Inactive)
              rishabhprabhu5 Rishabh Prabhu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: