Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-60357

Test may fail due to a different order of items in XML

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core

      Test in CopyOnWriteListTest depends on XStream to serialize and deserilize XML. The test assertions use hard-coded strings. However, the test may fail due to a different order of serialization results. So tests may fail or pass without any modifications to source code.

          [JENKINS-60357] Test may fail due to a different order of items in XML

          Jesse Glick added a comment -

          (Not using jenkins-test-harness.) Feel free to suggest a patch.

          Jesse Glick added a comment - (Not using jenkins-test-harness .) Feel free to suggest a patch.

          Jesse Glick added a comment -

          Jesse Glick added a comment - https://github.com/jenkinsci/jenkins/pull/4384 apparently

            contextshuffling Context Shuffling
            contextshuffling Context Shuffling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: