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.
This commit is contained in:
parent
dfb7e86f6d
commit
7b9cf8147e
1 changed files with 2 additions and 2 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Reference in a new issue