Skip to content

Commit 2d10152

Browse files
committed
test(mothership): expect the wider browser_wait_for renderer budget
1 parent d67f5ac commit 2d10152

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

‎apps/sim/lib/mothership/request/tools/executor.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,14 +266,14 @@ describe('pendingToolWaitBudgetMs', () => {
266266
})
267267

268268
it('matches the requested browser_wait_for renderer budget', () => {
269-
expect(pendingToolWaitBudgetMs({ name: 'browser_wait_for', status: 'executing' })).toBe(85_000)
269+
expect(pendingToolWaitBudgetMs({ name: 'browser_wait_for', status: 'executing' })).toBe(100_000)
270270
expect(
271271
pendingToolWaitBudgetMs({
272272
name: 'browser_wait_for',
273273
status: 'executing',
274274
params: { timeoutMs: 120_000 },
275275
})
276-
).toBe(195_000)
276+
).toBe(210_000)
277277
})
278278

279279
it('outlasts the wait window the desktop holds a terminal run for', () => {

‎apps/sim/lib/mothership/tools/client/browser-tool-execution.test.ts‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,11 +1289,11 @@ describe('executeBrowserToolOnClient', () => {
12891289
* native queue while the desktop is still honoring that same wait.
12901290
*/
12911291
it.each([
1292-
['number', 30_000, 105_000],
1293-
['numeric string', '30000', 105_000],
1294-
['non-numeric', 'soon', 85_000],
1295-
['negative', -5_000, 85_000],
1296-
['above the desktop clamp', 500_000, 195_000],
1292+
['number', 30_000, 120_000],
1293+
['numeric string', '30000', 120_000],
1294+
['non-numeric', 'soon', 100_000],
1295+
['negative', -5_000, 100_000],
1296+
['above the desktop clamp', 500_000, 210_000],
12971297
])(
12981298
'budgets browser_wait_for above the desktop wait (%s)',
12991299
async (_label, timeoutMs, expected) => {

0 commit comments

Comments
 (0)