]> git.eshelyaron.com Git - emacs.git/commit
; Attempt to fix race in erc-buffer-display test
authorF. Jason Park <jp@neverwas.me>
Tue, 31 Oct 2023 06:36:54 +0000 (23:36 -0700)
committerF. Jason Park <jp@neverwas.me>
Wed, 1 Nov 2023 23:14:10 +0000 (16:14 -0700)
commit11e42b405ca222a037b7b3d215ef5d14a97ab929
treec38293cbe572f955dd54a86f285eac6e642a4d15
parent32ed6e610f4a29a6adebc89a7b37d1b4beb54ec1
; Attempt to fix race in erc-buffer-display test

* test/lisp/erc/erc-fill-tests.el (erc-fill-tests--time-vals,
erc-fill-tests--current-time-value): Rename former to latter and
change type from function to natnum.
(erc-fill-tests--wrap-populate, erc-fill-wrap--merge,
erc-fill-wrap--merge-action): Use `erc-fill-tests--current-time-value'
instead of function `erc-fill-tests--time-vals'.
* test/lisp/erc/erc-scenarios-base-association.el
(erc-scenarios-common--base-association-multi-net): Extend timeout.
* test/lisp/erc/erc-scenarios-base-buffer-display.el
(erc-scenarios-base-buffer-display--reconnect-common): Move some
common assertions here from callers.
(erc-scenarios-base-buffer-display--defwin-recbury-intbuf,
erc-scenarios-base-buffer-display--count-reset-timeout):
Factor out a couple common assertions.  Clarify some comments.
(erc-scenarios-base-buffer-display--defwino-recbury-intbuf):
Factor out a couple common assertions and clarify some comments.
Account for possible concurrency bug leading to intermittent
test failures.
* test/lisp/erc/erc-scenarios-base-misc-regressions.el
(erc-scenarios-base-gapless-connect,
erc-scenarios-base-channel-buffer-revival): Extend timeouts.
* test/lisp/erc/resources/dcc/chat/accept.eld: Extend timeout.
* test/lisp/erc/resources/base/reconnect/options-again.eld: Extend
timeouts.
* test/lisp/erc/resources/erc-d/erc-d.el (erc-d--m): Prevent possible
wrong-type error.
* test/lisp/erc/resources/erc-d/resources/dynamic-foonet.eld: Extend
timeouts.
* test/lisp/erc/resources/erc-scenarios-common.el
(erc-scenarios-common--base-network-id-bouncer): Extend timeout.
test/lisp/erc/erc-fill-tests.el
test/lisp/erc/erc-scenarios-base-association.el
test/lisp/erc/erc-scenarios-base-buffer-display.el
test/lisp/erc/erc-scenarios-base-misc-regressions.el
test/lisp/erc/resources/base/reconnect/options-again.eld
test/lisp/erc/resources/dcc/chat/accept.eld
test/lisp/erc/resources/erc-d/erc-d.el
test/lisp/erc/resources/erc-d/resources/dynamic-foonet.eld
test/lisp/erc/resources/erc-scenarios-common.el