Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 38601 invoked from network); 30 Sep 2007 21:45:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Sep 2007 21:45:32 -0000 Received: (qmail 55783 invoked by uid 500); 30 Sep 2007 21:45:22 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 55732 invoked by uid 500); 30 Sep 2007 21:45:22 -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 55721 invoked by uid 99); 30 Sep 2007 21:45:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2007 14:45:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of enriquer9@gmail.com designates 209.85.146.178 as permitted sender) Received: from [209.85.146.178] (HELO wa-out-1112.google.com) (209.85.146.178) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 30 Sep 2007 21:45:23 +0000 Received: by wa-out-1112.google.com with SMTP id m38so4924150waf for ; Sun, 30 Sep 2007 14:45:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=h2tW09jvXdwkYDZ37gmSMnOk/vJBJeolWABkgtZ/y90=; b=gfVaQ2iMezKc+FJzs51eeVijDp7Bc6lrNStjCBUQzMzgiNWWpcJQbosyeZJhVn/H3qAkHJwxBZ61ysk5MrxpJQFqNP/zqI+YKfVEnEqd+HW//12IxRPZjYL26mjbDxPq/5P0EFXCRqpmT5zXXDOLlFOBVILNxNUBRK73H+ALFQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RwTHx0AqS0hZ13O38BDAJ/QCbWaGRc/TGNRDHLbJrPO4nq8Dxi8vwI2E9YqelNn7zeCNmj3ZwDtgNL7lCaRlrTWQQZmEd0c6MHb23yII4U0xMpIf4LCOsBUcH9dEXrXpFiBzRSe4jabQ0h3GC02ACUYYDVNBulqIDoZ4kjDGVAI= Received: by 10.114.126.1 with SMTP id y1mr3500684wac.1191188702245; Sun, 30 Sep 2007 14:45:02 -0700 (PDT) Received: by 10.114.240.8 with HTTP; Sun, 30 Sep 2007 14:45:02 -0700 (PDT) Message-ID: <568753d90709301445u609aded4u7b940f530f23af93@mail.gmail.com> Date: Sun, 30 Sep 2007 14:45:02 -0700 From: "Enrique Rodriguez" Reply-To: erodriguez@apache.org To: "Apache Directory Developers List" Subject: Re: NTP integraion test added (was Re: [ApacheDS] Mini-roadmap for protocol work) In-Reply-To: <46FFD4D4.2010206@labeo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <568753d90709291507i5d3ef8b5sb3523bfb50827509@mail.gmail.com> <46FF4C58.9010403@labeo.de> <46FFD4D4.2010206@labeo.de> X-Virus-Checked: Checked by ClamAV on apache.org On 9/30/07, Stefan Zoerner wrote: > Emmanuel Lecharny wrote: > >> * Should I create the tests in Big Bang or the 1.5 trunk? > > > > Add them in trunk, because we need them in trunk, but as we will merge > > them with bigbang and the way out, at the end of the day, it makes no > > difference... > > Thanks Emmanuel! > > I have added a simple integration test for the NTP server here > http://svn.apache.org/viewvc?view=rev&revision=580746 This is a really nice test. In particular, it fills a gap between unit tests and the integration tests in server-unit, providing full server tests, including codecs. The tests I added for Kerberos tested at the IoHandler level and thus did not test the codecs. I will start to use something more like what Stefan worked out for the other protocols. One issue, because this came up earlier this summer, is that when you get the loopback address, the best practice is to use 'null' as the hostname. 'null' will explicitly return the loopback address and avoid any issues with misconfigured hosts files that could cause the tests to fail. I've tested this on Sun and IBM and it should work given a read of Harmony source. >From the javadocs: "If the host is null then an InetAddress representing an address of the loopback interface is returned. " Enrique