This content has been marked as final. Show 3 replies
I'm going to assume it is cross test pollution since under eclipse
the order of tests is deterministic since I use TestSuites.
It looks like empty directories are not being copied over to target/test-classes:
[starksm@valkyrie deployers-vfs]$ ls target/tests-classes/structure/ear/ archive.ear* noappxml.ear/ someappxml.ear/ complexwithappxml.ear/ simplewithappxml.ear/ strict.ear/ ... Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.031 sec <<< FAILURE! testNotAnEAR(org.jboss.test.deployers.vfs.structure.ear.test.EARStructureRecognizeTestCase) Time elapsed: 0.016 sec <<< ERROR! java.io.FileNotFoundException: File does not exist: C:\home\svn\JBossMC\jboss-deployers\trunk\deployers-vfs\target\tests-classes\structure\ear\notanear
If I just add an empty file to notanear, the mvn test output consistently passes:
[starksm@valkyrie deployers-vfs]$ touch src/resources/tests/structure/ear/notanear/empty [starksm@valkyrie deployers-vfs]$ mvn test ... Results : Tests run: 155, Failures: 0, Errors: 0, Skipped: 0