aboutsummaryrefslogtreecommitdiff
path: root/tests/test-integration-recurring-events.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-02-03 08:36:37 -0600
committerCraig Jennings <c@cjennings.net>2026-02-03 08:36:37 -0600
commit7152dd7202a017b1df15b2d0d7834d7614353e98 (patch)
tree08753a0239dd2b9074fc7ff67c94665559ce2072 /tests/test-integration-recurring-events.el
parent552410e64aa3c3cdef3e9485d782a722283f6b45 (diff)
downloaddotemacs-7152dd7202a017b1df15b2d0d7834d7614353e98.tar.gz
dotemacs-7152dd7202a017b1df15b2d0d7834d7614353e98.zip
fix(tests): correct flaky test assertions
- calendar-sync: fix GTFO count bounds to match 15-month window (was incorrectly assuming 12-month/52-week window) - video-recording: add process-status mock to prevent race condition where process hadn't exited yet when sentinel was manually called
Diffstat (limited to 'tests/test-integration-recurring-events.el')
-rw-r--r--tests/test-integration-recurring-events.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-integration-recurring-events.el b/tests/test-integration-recurring-events.el
index 4629e6ef..3cae1a20 100644
--- a/tests/test-integration-recurring-events.el
+++ b/tests/test-integration-recurring-events.el
@@ -112,8 +112,8 @@ Validates:
(insert org-output)
(goto-char (point-min))
(how-many "^\\* GTFO"))))
- (should (> gtfo-count 40)) ; ~52 weeks in a year
- (should (< gtfo-count 60)))
+ (should (> gtfo-count 55)) ; ~65 weeks in 15-month window
+ (should (< gtfo-count 75)))
;; Should have properly formatted Saturday timestamps
(should (string-match-p "<[0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} Sat 10:30-11:00>" org-output)))