mirror of
https://github.com/vercel-labs/agent-desktop.git
synced 2026-11-22 17:43:17 +08:00
test(macos): give the inventory retry test a budget that fits two attempts on a slow runner
The test asserted more than one attempt inside 30 ms; a loaded CI runner fit only one. The budget is now 500 ms, which keeps the assertion about the retry and the last-failure details without timing the runner.
This commit is contained in:
@@ -33,7 +33,7 @@ fn adapter_rejects_silently_partial_apps_but_inventory_reports_skipped() {
|
||||
assert_eq!(inventory.skipped, vec![skipped.clone()]);
|
||||
|
||||
let error = adapter
|
||||
.list_apps(Deadline::after(30).unwrap())
|
||||
.list_apps(Deadline::after(500).unwrap())
|
||||
.expect_err("a skipped record must not become a successful complete app list");
|
||||
assert_eq!(error.code, ErrorCode::Timeout);
|
||||
let details = error.details.unwrap();
|
||||
|
||||
Reference in New Issue
Block a user