diff options
| author | Craig Jennings <c@cjennings.net> | 2026-02-03 08:36:37 -0600 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-02-03 08:36:37 -0600 |
| commit | 3b11eff3165db185f8177839f96fd27761af19a9 (patch) | |
| tree | 33727263cbc76d958aa7986892f783cf3fae2cf4 /tests/test-integration-recurring-events.el | |
| parent | 8af6ef2f8618687b414f9e6b064cf77b8333d73c (diff) | |
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.el | 4 |
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))) |
