test(windows): budget instrumented integration waits

This commit is contained in:
Tianyi Cui
2026-08-09 16:39:41 +08:00
parent 8e8c53bf72
commit 480dd9292a
2 changed files with 2 additions and 2 deletions
@@ -31,7 +31,7 @@ function fakeAgent(session: Session): Agent {
}
describe('tool-session-query with the real SQLite provider', () => {
it('searches live prior-step history and a persisted same-workspace log', async () => {
it('searches live prior-step history and a persisted same-workspace log', { timeout: 20_000 }, async () => {
const root = await mkdtemp(join(tmpdir(), 'dsh-tool-session-query-'))
temporaryDirectories.push(root)
const ctx = new Context()
+1 -1
View File
@@ -97,7 +97,7 @@ function repositoryState(root: string): Record<string, string> {
}
describe('change-scope', () => {
it('uses an explicit base on a fresh branch without a same-name remote and after its first push', () => {
it('uses an explicit base on a fresh branch without a same-name remote and after its first push', { timeout: 20_000 }, () => {
const { root } = fixture()
git(root, ['switch', '-c', 'feature'])
git(root, ['branch', '--set-upstream-to=origin/master'])