unit test ordering differences in generated XML
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Core Infrastructure |
Fix Committed
|
Medium
|
Khai Do |
Bug Description
I'm starting from scratch per documentation:
git clone https:/
cd jenkins-job-builder
python setup.py install
tox -e doc
So far so good.
tox -e py27
The tests run, but fail because of several ordering differences in the generated XML, e.g.,
+ <onUnstable>
- <onUnstable>
and
- <properties>
- builddir=/tmp/
+ <properties>
+ failonerror=True
</properties>
and
+ <unhealthy>
- <unhealthy>
+ <unhealthy>
- <unhealthy>
This happens on OS X, Python 2.7.5.
Changed in openstack-ci: | |
assignee: | nobody → Khai Do (zaro0508) |
Changed in openstack-ci: | |
status: | Triaged → In Progress |
We should probably fix this by loading the desired XML into python and comparing that semantically with the XML generated by JJB. This will avoid issues with simple diff.