Somehow the default config file had some bad data in it and when lein compile ran, it used the default config in ~/.polarize/xml-config.xml instead of the config in $WORKSPACE/xml-config.xml. This is because unless the project.clj file is edited, we can't pass in the -Dpolarize.config=/path/to/config symbol to the JVM.
to solve this, have the TestDefinitionProcessor or XMLConfig class look for an environment variable called POLARIZE_CONFIG=/path/to/config.xml
This problem was seen in this job:
https://rhsm-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/view/QE-RHEL7.4/job/rhsm-rhel-7.4-x86_64-Tier1Tests/57/console
Somehow the default config file had some bad data in it and when lein compile ran, it used the default config in ~/.polarize/xml-config.xml instead of the config in $WORKSPACE/xml-config.xml. This is because unless the project.clj file is edited, we can't pass in the -Dpolarize.config=/path/to/config symbol to the JVM.
to solve this, have the TestDefinitionProcessor or XMLConfig class look for an environment variable called POLARIZE_CONFIG=/path/to/config.xml