No one has seen this at all?

Chris


On 9/07/09 2:53 PM, "Dunstall, Christopher" <cdunst...@csu.edu.au> wrote:

Hi,

Lately, I've been getting some really bizarre behaviour from running junit 
tests in Maven 1.0.2.

The tests were written in Eclipse, where they run fine.  However, when I run a 
maven target, it runs the junit test but shows an error.  As a result, it 
finishes up as the build has failed.

    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.74 sec
    [junit] Running au.edu.csu.ole.msi.impl.dao.test.WebMethodsTest
Service: webmethods:pMDRTarget.flowservices:getCampusName?campusCode=A
webmethods
msi.flowservices
getOutlineInfo
webmethods
msi.flowservices
getOutlineInfo
    [junit] Tests run: 6, Failures: 0, Errors: 5, Time elapsed: 0.808 sec
    [junit] [ERROR] TEST au.edu.csu.ole.msi.impl.dao.test.WebMethodsTest FAILED

You can see here that it output the information from the test as I expected, 
but still had 'errors'.  Running the Stacktrace or verbose switch with maven 
reveals absolutely nothing.

To add even a more bizarre twist to it, some tests run fine with no errors on 
my Macbook Pro, but on my colleagues Windows box it errors.

More concering is that our continuum install also gets the errors (on a Unix 
VM), and running the -Dmaven.test.failure.ignore=true switch isn't possible to 
my knowledge.

Has anyone seen this before or know what the problem is, it really is driving 
me batty. :(

Thanks,

Chris Dunstall | Service Support - Applications
Technology Integration/OLE Virtual Team
Division of Information Technology | Charles Sturt University | Bathurst, NSW

Ph: 02 63384818 | Fax: 02 63384181



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Chris Dunstall | Service Support - Applications
Technology Integration/OLE Virtual Team
Division of Information Technology | Charles Sturt University | Bathurst, NSW

Ph: 02 63384818 | Fax: 02 63384181



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to