I'm trying to run the unit tests for opennms/1.10 (inside
opennms-service) and org.springframework.test.context.TestContextManager
is catching an exception while preparing the test instance.
Any suggestions?
Ron
2011-08-30 13:09:33,344 ERROR [main]
org.springframework.test.context.TestContext
Found the problem. In
opennms-dao/src/main/resources/META-INF/opennms/applicationContext-dao.xml
bean dataCollectionConfigResourceLocation has a constructor-arg with a
value of
file://${opennms.home}/etc/datacollection-config.xml
This causes problems. Removing the two /'s before ${opennms
I'll check in this fix shortly. Good catch! Although at the same time,
it shows how infrequently the tests are run on Windows (which is where
I'm assuming you ran the build based on the error you got). We probably
need to set up continuous integration on Windows at some point. :/
-- Seth
On 08/3