[ovirt-devel] Failing DAO tests
Roman Mohr
rmohr at redhat.com
Wed Jun 8 18:51:55 UTC 2016
Hi we have failing DAO tests becaus of:
https://gerrit.ovirt.org/#/c/56192/
Seems like the cluster can't be saved anymore:
testSave(org.ovirt.engine.core.dao.ClusterDaoTest) Time elapsed: 9
sec <<< ERROR!
java.lang.NullPointerException
at org.ovirt.engine.core.dao.ClusterDaoImpl.getClusterParamSource(ClusterDaoImpl.java:255)
at org.ovirt.engine.core.dao.ClusterDaoImpl.save(ClusterDaoImpl.java:136)
at org.ovirt.engine.core.dao.ClusterDaoTest.testSave(ClusterDaoTest.java:318)
ClusterDaoImpl.java:255 is
.addValue("switch_type",
cluster.getRequiredSwitchTypeForCluster().getOptionValue());
Seems like the the requiredSwitchType is not set for all tests and
when trying to access the getOptionValue() we have a nullpointer
exception.
Fails on my local machine and on travis:
https://s3.amazonaws.com/archive.travis-ci.org/jobs/136184841/log.txt
Best Regards,
Roman
More information about the Devel
mailing list