couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <randall.le...@gmail.com>
Subject Re: git commit: Start/Stop CouchDB aronud JS CLI tests.
Date Fri, 11 Nov 2011 02:20:06 GMT
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 <nslater@tumbolia.org> wrote:
> On Mon, Oct 31, 2011 at 2:38 PM, Paul Davis <paul.joseph.davis@gmail.com>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.
>

Mime
View raw message