On Wed, Oct 23, 2013 at 11:33 PM, Henning Schmiedehausen <
henn...@schmiedehausen.org> wrote:


> When I run "mvn site" I get a unit test error but the build does not fail,
>> which I do not understand:
>>
>> Running org.apache.commons.configuration.TestDataConfiguration
>> Tests run: 50, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
>> <<< FAILURE! - in org.apache.commons.configuration.TestDataConfiguration
>>
>> testGetInetAddressInvalidType(org.apache.commons.configuration.TestDataConfiguration)
>> Time elapsed: 0 sec  <<< FAILURE!
>> java.lang.AssertionError: Expected exception:
>> org.apache.commons.configuration.ConversionException
>>
>
That turned out to be trivial. I bet that "host foo" (or the windows
equivalent) in your network returns something.

e.g.

% host foo
foo.dyn.intermeta.com has address 192.168.2.234

that causes the build to fail for me. Which is horrible but that's what the
tests are. :-)

I have a fix for that.

-h

Reply via email to