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
commitc9a91ce90d333576a5056545e9d8586a14b4ae2b (patch)
tree33727263cbc76d958aa7986892f783cf3fae2cf4 /tests/test-integration-recurring-events.el
parentfd946298c51d9546261effdbac92f46ca5d6b2c4 (diff)
downloaddotemacs-c9a91ce90d333576a5056545e9d8586a14b4ae2b.tar.gz
dotemacs-c9a91ce90d333576a5056545e9d8586a14b4ae2b.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)))