hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wojciech Langiewicz <wlangiew...@gmail.com>
Subject Strange problem with ant test
Date Wed, 17 Nov 2010 13:52:05 GMT
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
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

View raw message