-
Notifications
You must be signed in to change notification settings - Fork 364
Description
With help of @dhague we figured out what's currently causing the failing build after #693.
Most of the problems got fixed after correcting the path to the tapes-folder by #704, the remaining 3 failures where caused by the different way parameters are appended to a uri using jdk 1.7 and 1.8 .
Apparently Betamax just compares the strings. -.-
For example:
http://devstack.openstack.stack:5000/v3/users?name=foobar&domain_id=default vs http://devstack.openstack.stack:5000/v3/users?domain_id=default&name=foobar .
If there's no exact match we get the NPE as seen in the build logs, because betamax is unable to find a response to play back .
After correcting that in the tapes, and still skipping JDK-7157360-affected controllers using mvn clean verify -pl '!org.pacesys.openstack4j.connectors:openstack4j-http-connector,!org.pacesys.openstack4j.connectors:openstack4j-jersey2,!org.pacesys:it-jersey2'we get OS4j back to green using JDK 1.7 .
Just to be clear: It would still fail using JDK 1.8 as it is sorting parameters differently.
So if we want to get the integration-tests back in both java versions we could either try to fix that in betamax or try to somehow fix the ordering of parameters in os4j itself.
For now I could follow up with a PR which works for 1.7 or 1.8 .
What do you guys think makes most sense here?
@gondor, @dhague, @vinodborole
/cc @olivergondza