From edd1f0512f4a057c19b7b26d811da574c025b02f Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Tue, 29 Jul 2025 14:54:18 -0700 Subject: [PATCH] ; Adjust sleep-for in erc-autojoin-channels tests * test/lisp/erc/erc-join-tests.el (erc-join-tests--autojoin-channels-ident): A `sleep-for' value of 0.01 caused associated tests to fail on at least one setup involving Solaris 10. The new value is arbitrary and possibly temporary, pending further investigation. (Bug#79017) --- test/lisp/erc/erc-join-tests.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/lisp/erc/erc-join-tests.el b/test/lisp/erc/erc-join-tests.el index c97c60912bd..ea3623bfce9 100644 --- a/test/lisp/erc/erc-join-tests.el +++ b/test/lisp/erc/erc-join-tests.el @@ -86,8 +86,7 @@ (with-timeout (5 (ert-fail "Timeout exceeded")) (cl-letf* ((erc-autojoin-timing 'ident) - (erc-autojoin-delay 0.001) - (timer-list (copy-sequence timer-list)) + (erc-autojoin-delay 0.0625) (calls nil) (check (lambda () (prog1 calls (setq calls nil)))) ((symbol-function 'erc-server-send) @@ -99,7 +98,7 @@ (erc-autojoin-channels erc-server-announced-name "tester") (should erc--autojoin-timer) - (sleep-for 0.01) + (sleep-for 0.25) (funcall test check) (should-not calls)