Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 48339 invoked from network); 6 Jun 2010 18:56:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Jun 2010 18:56:17 -0000 Received: (qmail 39187 invoked by uid 500); 6 Jun 2010 18:56:17 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 39138 invoked by uid 500); 6 Jun 2010 18:56:17 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 39131 invoked by uid 99); 6 Jun 2010 18:56:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 18:56:17 +0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.160.178 as permitted sender) Received: from [209.85.160.178] (HELO mail-gy0-f178.google.com) (209.85.160.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 06 Jun 2010 18:56:10 +0000 Received: by gyh3 with SMTP id 3so2518808gyh.37 for ; Sun, 06 Jun 2010 11:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=xmuPaq9C4WdSDLbWNKWuD/x+qFazIF/x/0QeklAPaVw=; b=V6+Y60tKPlCp+kCchHMpuvSU+8DKru9Nok75PEzm6Vv1JPRtdKyo5gLXm7RWlF1hnm +dmFY1yIsJET9Y2I/oUHoFF42s0f/GnLc+hUSUuOyYzuB8vOunFWf7Fs+nvRYa3IgoEb xjY9IzWynADOml8lBahVB/ANv+2Y+52TeLTt0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=k7MmBbT6pfShyEFiZneLD6K+2O7DsN9JEOSDTOVdCdKaXAnOW87ICwrK+n4NsWzXeI BZ8Qer1hTOdZy+FdvSBV0KBYxSgYebZPWsfLuqf7emoJeVh/cBgxIJAk1S5FuM6lpFV5 kypJj1GtdOMI1GcKAvTwO4jboZAKdSCaE7yuQ= Received: by 10.150.240.8 with SMTP id n8mr12887438ybh.409.1275850549562; Sun, 06 Jun 2010 11:55:49 -0700 (PDT) Received: from emmanuel-lecharnys-MacBook-Pro.local ([78.192.106.184]) by mx.google.com with ESMTPS id w3sm38266494ybi.21.2010.06.06.11.55.47 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Jun 2010 11:55:48 -0700 (PDT) Message-ID: <4C0BEF5A.6040801@gmail.com> Date: Sun, 06 Jun 2010 20:56:26 +0200 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: svn commit: r951912 - in /directory/apacheds/trunk: protocol-ntp/src/test/java/org/apache/directory/server/ntp/NtpITest.java server-xml/ xbean-spring/ References: <20100606173956.0417923888E8@eris.apache.org> <4C0BE27E.2000504@apache.org> <4C0BE3AA.2020400@gmail.com> <4C0BE61D.6060007@apache.org> In-Reply-To: <4C0BE61D.6060007@apache.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 6/6/10 8:17 PM, Stefan Seelmann wrote: > Emmanuel Lecharny wrote: > >> On 6/6/10 8:01 PM, Stefan Seelmann wrote: >> >>> >>>> @@ -74,6 +75,7 @@ public class NtpITest >>>> * @throws Exception if there are errors >>>> */ >>>> @Test >>>> + @Ignore >>>> public void testNtp() throws Exception >>>> { >>>> InetAddress host = InetAddress.getByName( null ); >>>> >>>> >>>> >>> Is this intended? I though I fixed this test yesterday, is it still >>> failing? >>> >>> >> No, sorry, it was caught in a big commit I did. I will revert it >> immediately. >> >> Btw, what was the problem ?-- >> > The test asserted two things: > > - the delay is in range 0..1000 ms, both bounds excluded. But the delay > could be 0, especially when getting the time from localhost without any > network roundtrip. So I included the 0 as valid value. > > - the offset is in range 0..1000 ms, both bounds excluded. But the > offset can be negative. Now the test checks that offset is in range > -1000..1000 ms. > Doh... yeah, smart. I didn't thought it can be such a simple problem... Thank for the fix Stefan ! -- Regards, Cordialement, Emmanuel Lécharny www.nextury.com