[PATCH] tests: test-run-tests: clean up inuse server eagerly

Augie Fackler raf at durin42.com
Sun Jun 5 19:10:20 EDT 2016


> On Jun 5, 2016, at 1:18 PM, timeless <timeless at gmail.com> wrote:
> 
> Stray processes don't get killed well when I use ^C. I end up with a whole bunch of daemons just sitting around on gcc112... Also often my session used to get disconnected in bad ways which tended to leave servers around...
> 
For the first case, are you sending a single ^C or many ^Cs? If the former, we might have a bug.

For the second case, it turns out gcc112 has mosh on it, so I’d recommend giving https://mosh.mit.edu/ a run. Should make things a good bit nicer for you.

> On Jun 3, 2016 10:31 PM, "Augie Fackler" <raf at durin42.com <mailto:raf at durin42.com>> wrote:
> On Fri, Jun 03, 2016 at 02:11:56PM +0000, timeless wrote:
> > # HG changeset patch
> > # User timeless <timeless at mozdev.org <mailto:timeless at mozdev.org>>
> > # Date 1462980025 0
> > #      Wed May 11 15:20:25 2016 +0000
> > # Node ID cb9eb592d4d3fa8f73b52dfc67f13e67da262f41
> > # Parent  bee3ca724aab40d85f2899b371a408b721b5eb9b
> > # EXP-Topic runtests
> > # Available At https://bitbucket.org/timeless/mercurial-crew <https://bitbucket.org/timeless/mercurial-crew>
> > #              hg pull https://bitbucket.org/timeless/mercurial-crew <https://bitbucket.org/timeless/mercurial-crew> -r cb9eb592d4d3
> > tests: test-run-tests: clean up inuse server eagerly
> 
> OOC, why?
> 
> >
> > diff -r bee3ca724aab -r cb9eb592d4d3 tests/test-run-tests.t
> > --- a/tests/test-run-tests.t  Wed May 11 16:40:16 2016 +0000
> > +++ b/tests/test-run-tests.t  Wed May 11 15:20:25 2016 +0000
> > @@ -301,6 +301,8 @@
> >    .
> >    # Ran 1 tests, 0 skipped, 0 warned, 0 failed.
> >    $ rm test-serve-inuse.t
> > +  $ killdaemons.py $DAEMON_PIDS
> > +  $ rm $DAEMON_PIDS
> >
> >  Running In Debug Mode
> >  ======================
> > _______________________________________________
> > Mercurial-devel mailing list
> > Mercurial-devel at mercurial-scm.org <mailto:Mercurial-devel at mercurial-scm.org>
> > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org <mailto:Mercurial-devel at mercurial-scm.org>
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160605/eaf49635/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20160605/eaf49635/attachment.sig>


More information about the Mercurial-devel mailing list