From 3b11eff3165db185f8177839f96fd27761af19a9 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Tue, 3 Feb 2026 08:36:37 -0600 Subject: 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 --- tests/test-integration-recurring-events.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test-integration-recurring-events.el') 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))) -- cgit v1.2.3