Not sure how you compare things in your assertions, but it may be
someone in your team who has different svn client settings (EOL style)
or not the correct encoding for the files. This is a certain way to
get strange test results. Write the comparison strings to a file and
open it with a hex editor to see the contents. Do this also on other
failing platforms to see if there's a difference.

Martijn

On Thu, Jul 9, 2009 at 6:53 AM, Dunstall,
Christopher<[email protected]> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>



-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.5 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to