Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EE9F29AA0 for ; Fri, 11 Nov 2011 02:20:34 +0000 (UTC) Received: (qmail 70684 invoked by uid 500); 11 Nov 2011 02:20:34 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 70640 invoked by uid 500); 11 Nov 2011 02:20:34 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 70632 invoked by uid 99); 11 Nov 2011 02:20:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 02:20:34 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of randall.leeds@gmail.com designates 209.85.213.52 as permitted sender) Received: from [209.85.213.52] (HELO mail-yw0-f52.google.com) (209.85.213.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Nov 2011 02:20:28 +0000 Received: by ywb5 with SMTP id 5so3333501ywb.11 for ; Thu, 10 Nov 2011 18:20:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=J0TslXV02S5hjizevJepqlFvP+ZTjZUSMnrIG0nZgv8=; b=I1zuT0mTRUP0l2IthrxxQkwSxo0hcgYfGDvN1364nNIkO/eN374FfTZ78cU2T32U1v TzU5+xzAz/o0QYDilU/ZtUJsBDu7rKblJoU3uaIbTtHe6V0GwGLvrj0Qqb01AYT4N5QC eDPcTjcaFiE/xZN1WGOioS+GOQ6ICHlbB9c+A= MIME-Version: 1.0 Received: by 10.68.60.97 with SMTP id g1mr19441163pbr.108.1320978006814; Thu, 10 Nov 2011 18:20:06 -0800 (PST) Received: by 10.68.43.136 with HTTP; Thu, 10 Nov 2011 18:20:06 -0800 (PST) In-Reply-To: References: <20111031083756.4B8E65496F@tyr.zones.apache.org> Date: Thu, 10 Nov 2011 18:20:06 -0800 Message-ID: Subject: Re: git commit: Start/Stop CouchDB aronud JS CLI tests. From: Randall Leeds To: dev@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Can someone turn this into a ticket? Sounds like we need port=0 and a trap command. Also, I noticed that running the tests directly seems to start/stop the server but make check doesn't? Is that correct? On Mon, Oct 31, 2011 at 11:16, Noah Slater wrote: > On Mon, Oct 31, 2011 at 2:38 PM, Paul Davis wrote: > > Before I forget, there's also a nifty trap command thing in case its >> killed by a signal. There's an example of its use here: >> >> >> https://svn.apache.org/repos/infra/infrastructure/trunk/projects/git/bin/update-mirror.sh >> >> Not sure how portable that is, but it seems like something we might >> want to look into to be extra sure that the node comes down. >> > > +1 > > The trap command should be quite portable. >