Skip to content

Commit 5f16f16

Browse files
pestctrlbbatsov
authored andcommitted
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.
1 parent 3491cb9 commit 5f16f16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cider-overlay-tests.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ being set that way"
6767
(defun cider-overlay--safe-to-speed-up-tests ()
6868
(and (<= 28 emacs-major-version)
6969
(not (member system-type
70-
'(ms-dos windows-nt cygwin)))))
70+
'(ms-dos windows-nt cygwin darwin)))))
7171

7272
(describe "cider--make-result-overlay"
7373
:var (overlay-count this-command)

0 commit comments

Comments
 (0)