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

4 views
Skip to first unread message

contextshuffling@gmail.com (JIRA)

unread,
Dec 3, 2019, 1:38:03 PM12/3/19
to jenkinsc...@googlegroups.com
Context Shuffling created an issue
 
Jenkins / Bug JENKINS-60357
Test may fail due to a different order of items in XML
Issue Type: Bug Bug
Assignee: Oliver Gondža
Components: jenkins-test-harness
Created: 2019-12-03 18:37
Priority: Minor Minor
Reporter: Context Shuffling

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

contextshuffling@gmail.com (JIRA)

unread,
Dec 3, 2019, 1:39:05 PM12/3/19
to jenkinsc...@googlegroups.com
Context Shuffling updated an issue
Change By: Context Shuffling
Test in [CopyOnWriteListTest | https://github.com/jenkinsci/jenkins/blob/ead55ac41d7a06cca09fcc59cbbf1bfc8c0f81f7/core/src/test/java/hudson/util/CopyOnWriteListTest.java] 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.
Reply all
Reply to author
Forward
0 new messages