You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by Wojciech Langiewicz <wl...@gmail.com> on 2010/11/17 14:52:05 UTC

Strange problem with ant test

Hello,
I'm just beginning with Hadoop development, I have followed 
EclipseEnvironment tutorial and successfully completed it.
But I have a problem with running 'ant test', it fails on file 
TestDU.java, the error I get is:

Testsuite: org.apache.hadoop.fs.TestDU
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 5,221 sec

Testcase: testDU took 5,201 sec
	FAILED
expected:<32768> but was:<40960>
junit.framework.AssertionFailedError: expected:<32768> but was:<40960>
	at org.apache.hadoop.fs.TestDU.testDU(TestDU.java:79)

But when I run this unit test directly from Eclipse (using JUnit) it passes.
Could you point me to what I'm doing wrong here?

Thanks a lot.

--
Wojciech Langiewicz