bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#39075: 28.0.50; Emacs hangs on 100% CPU and grows beyond bounds in s


From: Michael Albinus
Subject: bug#39075: 28.0.50; Emacs hangs on 100% CPU and grows beyond bounds in shell-mode
Date: Mon, 20 Jan 2020 08:47:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Pieter van Oostrum <pieter-l@vanoostrum.org> writes:

>>> I propose to amend the test also, so that it would have caught this
>>> error (by hanging).
>>
>> I haven't read anything else, so take this with a grain of salt, but
>> tests that hang (rather than just fail) are a PITA for automated testing.
>
> That is true, but the test is there to test the fix, which makes it no
> longer hang. And as these are in the same commit, the test should
> never hang, unless somebody breaks the fix later. But then hanging
> could occur with any bug.

I haven't checked your test case, but in Tramp I try to avoid hanging by
wrapping process related tests with a timer.

Experience has taught me, that I'm able to break the tests all the time
by new code :-(

Best regards, Michael.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]