This content has been marked as final.
Show 3 replies
-
1. Re: testNotAnEar
adrian.brock Mar 20, 2008 10:58 PM (in response to adrian.brock)I'm going to assume it is cross test pollution since under eclipse
the order of tests is deterministic since I use TestSuites. -
2. Re: testNotAnEar
starksm64 Mar 20, 2008 11:48 PM (in response to adrian.brock)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
-
3. Re: testNotAnEar
adrian.brock Mar 21, 2008 12:35 AM (in response to adrian.brock)"scott.stark@jboss.org" wrote:
It looks like empty directories are not being copied over to target/test-classes:
Thanks, same behaviour as ant then :-)