dev@glassfish.java.net

Re: cannot build without network...

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Mon, 19 Jul 2010 10:29:57 -0700

On 7/18/2010 11:30 PM, Jerome Dochez wrote:
> On 7/18/10 8:01 PM, Byron Nevins wrote:
>>
>>
>> On 7/18/2010 1:31 AM, Jerome Dochez wrote:
>>> Byron
>>>
>>> I believe you added a test in common-util that fail when no network
>>> connection is present.
>>>
>>> testEquals(com.sun.enterprise.util.net.NetUtilsTest)
>>>
>>> probably not a good idea to do :
>>> assertTrue(NetUtils.isEqual("www.oracle.com",
>>> "www.oracle.com"));
>>> assertFalse(NetUtils.isEqual("oracle.com", "google.com"));
>>>
>>>
>>> Can u fix this,
>> Yes -- done.
> thanks !
>>
>>
>>> and also fix the test that slows down the entire build as reported
>>> by Sahoo.
>> No can do. I don't what test slows down his build.
> I don't think it's particular to his build, mine is pretty slow
> between those two outputs :
>
I've got 45 seconds with no VPN, 52 seconds with no internet connection.
I can't reproduce any problem.

> This exception is expected. Here it is:
> com.sun.enterprise.universal.xml.MiniXmlParserException: "Could not
> find the config (server-config) for server
> Jul 18, 2010 11:30:02 PM
> com.sun.enterprise.universal.xml.MiniXmlParser findDomainNameAndEnd
>
>
>>
>>>
>>> Thanks, jerome
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>

-- 
Byron Nevins  -  Oracle Corporation
Home: 650-359-1290
Cell: 650-784-4123
Sierra: 209-295-2188