GNU bug report logs - #71966
30.0.60; Intermittent failure in eglot-tests

Previous Next

Package: emacs;

Reported by: john muhl <jm <at> pub.pink>

Date: Sat, 6 Jul 2024 03:43:01 UTC

Severity: minor

Found in version 30.0.60

Full log


View this message in rfc822 format

From: Jeremy Bryant <jb <at> jeremybryant.net>
To: john muhl <jm <at> pub.pink>
Cc: 71966 <at> debbugs.gnu.org, João Távora <joaotavora <at> gmail.com>
Subject: bug#71966: 30.0.60; Intermittent failure in eglot-tests
Date: Sat, 06 Jul 2024 23:32:37 +0100
john muhl <jm <at> pub.pink> writes:

> The failing test is ‘eglot-test-auto-detect-running-server’. I
> can’t reproduce it here by running the individual test in a loop
> (well it didn’t fail during 5 hours of looping). However it has
> failed 10 times in the last 62 runs of ‘make check’. It only
> happens on the 32bit ARM test machine but happens across all
> tested configurations there.
>
> I was able to run ‘make check’ a dozen times without failure using
> the patch below. Let’s see how it does for a week or two of builds.
>
>   --- a/test/lisp/progmodes/eglot-tests.el
>   +++ b/test/lisp/progmodes/eglot-tests.el
>   @@ -326,7 +326,7 @@ eglot-tests--auto-detect-running-server-1
>           ("anotherproject" . (("cena.c" . "bla"))))
>         (with-current-buffer
>             (eglot--find-file-noselect "project/coiso.c")
>   -       (should (setq server (eglot--tests-connect)))
>   +       (should (setq server (eglot--tests-connect 20)))
>           (should (eglot-current-server)))
>         (with-current-buffer
>             (eglot--find-file-noselect "project/merdix.c")
>
> [2. text/plain; eglot-tests.log]...

Adding João on this bug report




This bug report was last modified 109 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.