Return-Path: Delivered-To: apmail-incubator-esme-dev-archive@minotaur.apache.org Received: (qmail 53088 invoked from network); 23 Nov 2009 13:26:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Nov 2009 13:26:55 -0000 Received: (qmail 50358 invoked by uid 500); 23 Nov 2009 13:26:55 -0000 Delivered-To: apmail-incubator-esme-dev-archive@incubator.apache.org Received: (qmail 50302 invoked by uid 500); 23 Nov 2009 13:26:54 -0000 Mailing-List: contact esme-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: esme-dev@incubator.apache.org Delivered-To: mailing list esme-dev@incubator.apache.org Received: (qmail 50292 invoked by uid 99); 23 Nov 2009 13:26:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 13:26:54 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of esjewett@gmail.com designates 209.85.222.174 as permitted sender) Received: from [209.85.222.174] (HELO mail-pz0-f174.google.com) (209.85.222.174) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 13:26:52 +0000 Received: by mail-pz0-f174.google.com with SMTP id 4so3597872pzk.32 for ; Mon, 23 Nov 2009 05:26:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=cJp4zwmpubgtYXpaV4nU1rCTyeVB20tMsNVaAAFjnMo=; b=UDMrLucVzxPHUOvKjx2/xBAfb5HvrA/XYyR7Rzv9GWEEbXlNcLDVV3DITOqLotklPa O6u/PDAJShdyZcLn/jhwip+cTD6vKjYsNcCpK7WhJDqv3JtaRf2aCnVdVK6bX60POXYt m2z+CS++OKU1cZO2JxDv+SBhAaJqAsMvFRsfg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=SMBvqzU4Rt+tnDXMzjmvwdB+wSzCKgyO8X+ZGRcHclwip+nZO2luGMfmagNrLINnWH LU1Y+ptCXj1vyNmvoxp8qDjpWJwChbMjEGS9NCCfn+ZGi63sdrGQ85rEK5ALZepWKPOI za9huxTzeUs01LMjIfGNXnfi7J1yXZ99i2vQs= MIME-Version: 1.0 Received: by 10.141.13.13 with SMTP id q13mr302061rvi.40.1258982792288; Mon, 23 Nov 2009 05:26:32 -0800 (PST) In-Reply-To: References: Date: Mon, 23 Nov 2009 07:26:32 -0600 Message-ID: <68f4a0e80911230526u56b05c64xbb5ae4deb2b57157@mail.gmail.com> Subject: Re: Test error for new API2 tests From: Ethan Jewett To: esme-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Dick, this is a failure that should be happening. The problem is that the API is returning the wrong response code, so the test fails. Is it ok to have failing specs in the test suite? I think we should encourage this to facilitate test driven development, but if that's not how we're doing things then I'll stop submitting patches with failing test cases. Ethan On Monday, November 23, 2009, Richard Hirsch wrote: > @Ethan > > I just tried to build with the latest patch from 11/19/2009 and there > is a test error: > > Test set: org.apache.esme.api.Api2SpecsAsTest > -------------------------------------------------------------------------= ------ > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 5.093 > sec <<< FAILURE! > API2 should Attempt to create session with an invalid token returns > 400 response =A0Time elapsed: 0 sec =A0<<< FAILURE! > org.specs.runner.UserError: '200' is not equal to '400'. > > I added the API2.scala file, test results, test.scala files) to the > Jira item (https://issues.apache.org/jira/browse/ESME-14) - maybe you > can see what the problem is. > > Thanks. > > Dick >