From 7b9cf8147ee4d6a3910b18adc9faba67c0d0b64d Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Sun, 22 Feb 2026 10:03:56 +0000 Subject: [PATCH] fix: stabilize flaky timeline CLI test under parallel execution Fetch timeline with page_size=all so concurrent test data from other CLI tests doesn't push events off page 1, causing assertion failures. --- tests/cli/timeline_cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cli/timeline_cli.rs b/tests/cli/timeline_cli.rs index bb8bd4e..aa95833 100644 --- a/tests/cli/timeline_cli.rs +++ b/tests/cli/timeline_cli.rs @@ -16,7 +16,7 @@ fn test_editing_roaster_updates_timeline_events_after_rebuild() { // Verify original roaster name appears in timeline HTML let client = reqwest::blocking::Client::new(); let body = client - .get(format!("{address}/timeline")) + .get(format!("{address}/timeline?page_size=all")) .send() .expect("failed to fetch timeline") .text() @@ -58,7 +58,7 @@ fn test_editing_roaster_updates_timeline_events_after_rebuild() { // Verify both timeline events now show the updated roaster name let body = client - .get(format!("{address}/timeline")) + .get(format!("{address}/timeline?page_size=all")) .send() .expect("failed to fetch timeline after rebuild") .text()