branch: elpa/cider
commit 5f16f161544e52eaa122d0846fc8ffe05e0d7198
Author: Benson Chu <[email protected]>
Commit: Bozhidar Batsov <[email protected]>

    Don't scale down time for overlay tests on MacOS
    
    Overlay tests involve testing the timer functionality of overlays, and
    require the use of sleep. The tests scale all time-related arguments
    by a certain factor to avoid overly inflating test-running
    times.
    
    The scaling factor was initially set at 1 order of magnitude slower
    than the consistently succeeding value on my machine, but the value is
    apparently still too fast for the MacOS test runner, so I have added
    MacOS to the list of platforms unsafe to do this optimization for.
---
 test/cider-overlay-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/cider-overlay-tests.el b/test/cider-overlay-tests.el
index fc59ea73a5..3f1ea94fc9 100644
--- a/test/cider-overlay-tests.el
+++ b/test/cider-overlay-tests.el
@@ -67,7 +67,7 @@ being set that way"
 (defun cider-overlay--safe-to-speed-up-tests ()
   (and (<= 28 emacs-major-version)
        (not (member system-type
-                    '(ms-dos windows-nt cygwin)))))
+                    '(ms-dos windows-nt cygwin darwin)))))
 
 (describe "cider--make-result-overlay"
   :var (overlay-count this-command)

Reply via email to