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

Flaky Tests in HelpSupportTestCase due to SynopsisGenerator.java

XMLWordPrintable

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

      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).

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

                Created:
                Updated: