harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geir Magnusson Jr <g...@pobox.com>
Subject Re: svn commit: r416477 - in /incubator/harmony/enhanced/classlib/trunk/modules/luni: ./ src/main/java/java/net/ src/test/java/tests/api/java/net/
Date Fri, 23 Jun 2006 11:48:25 GMT
I'm having 9 failures in and around this on ubuntu 6.  I haven't looked
to confirm this is the issue, but either way, yes, the tests should be
accommodating.

geir


Mark Hindess wrote:
> Tests failed for me (and the linux build machine) with:
> 
>   Incorrect host name returned: localhost.localdomain != localhost
> 
>   junit.framework.AssertionFailedError: Incorrect host name returned: localhost.localdomain
!= localhost
>   at tests.api.java.net.InetAddressTest.test_getHostName(InetAddressTest.java:238)
> 
> Because the standard Debian installation defines 127.0.0.1 to be
> localhost.localdomain.  I think the tests need to be more accommodating
> people aren't going to want to have to mess about with these system
> configurations.
> 
> -Mark.
> 
> 
> On 23 June 2006 at 13:14, "Andrew Zhang" <zhanghuangzhu@gmail.com> wrote:
>> ------=_Part_22520_3761084.1151039694395
>> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>> Content-Transfer-Encoding: 7bit
>> Content-Disposition: inline
>>
>> Hi Stepan,
>>
>> Maybe it needs configure /etc/hosts ? I'm not sure.
>>
>> I configured the host file on windows, the test passes. :)
>>
>> Thanks!
>>
>>
>> On 6/23/06, Stepan Mishura <stepan.mishura@gmail.com> wrote:
>>> Hi George,
>>>
>>> InetAddressTest and SocketPermissionTest still fails for me on Linux.
>>> For example, InetAddressTest.test_getAllByNameLjava_lang_String failed
>>> with:
>>>
>>> Incorrect number of aliases returned: 2 should be 1
>>> junit.framework.AssertionFailedError: Incorrect number of aliases
>>> returned:
>>> 2 should be 1 at
>>> tests.api.java.net.InetAddressTest.test_getAllByNameLjava_lang_String (
>>> InetAddressTest.java:165) at java.lang.reflect.AccessibleObject.invokeV(
>>> AccessibleObject.java:205)
>>>
>>> Thanks,
>>> Stepan.
>>>
>>> -----Original Message-----
>>> From: gharley@apache.org [mailto:gharley@apache.org]
>>> Sent: Friday, June 23, 2006 4:36 AM
>>> To: harmony-commits@incubator.apache.org
>>> Subject: svn commit: r416477 - in
>>> /incubator/harmony/enhanced/classlib/trunk/modules/luni: ./
>>> src/main/java/java/net/ src/test/java/tests/api/java/net/
>>>
>>>
>>>
>>> Author: gharley
>>>
>>> Date: Thu Jun 22 14:36:24 2006
>>>
>>> New Revision: 416477
>>>
>>>
>>>
>>> URL: http://svn.apache.org/viewvc?rev=416477&view=rev
>>>
>>> Log:
>>>
>>> Liberate ServerSocketTest, InetAddressTest and SocketPermissionTest from
>>> the
>>> excludes list. Fix up a couple of bugs in InetAddressTest. Remove a couple
>>> of duplicate entries in tests.api.java.net.AllTests suite.
>>>
>>>
>>>
>>> Modified:
>>>
>>>    incubator/harmony/enhanced/classlib/trunk/modules/luni/build.xml
>>>
>>>
>>>
>>> incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/n
>> et/ServerSocket.java
>>>
>>>
>>> incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/
>> api/java/net/AllTests.java
>>>
>>>
>>> incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/
>> api/java/net/InetAddressTest.java
>>>
>>>
>>> incubator/harmony/enhanced/classlib/trunk/modules/luni/src/test/java/tests/
>> api/java/net/ServerSocketTest.java
>>>
>>>
>>> Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/build.xml
>>>
>>> URL:
>>>
>>> http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modu
>> les/luni/build.xml?rev=416477&r1=416476&r2=416477&view=diff
>>>
>>> ===========================================================================
>> ===
>>> <SNIP>
>>>
>>> --
>>> Thanks,
>>> Stepan Mishura
>>> Intel Middleware Products Division
>>>
>>> ------------------------------------------------------
>>> Terms of use : http://incubator.apache.org/harmony/mailing.html
>>> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
>>> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
>>>
>>>
>>
>> -- 
>> Andrew Zhang
>> China Software Development Lab, IBM
>>
>> ------=_Part_22520_3761084.1151039694395--
> 
> 
> 
> ---------------------------------------------------------------------
> Terms of use : http://incubator.apache.org/harmony/mailing.html
> To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
> For additional commands, e-mail: harmony-dev-help@incubator.apache.org
> 
> 
> 

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org
For additional commands, e-mail: harmony-dev-help@incubator.apache.org


Mime
View raw message