Skip to content

Commit 2507f67

Browse files
authored
chore: make vscode tests less flaky (#4875)
1 parent 4137773 commit 2507f67

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

vscode/extension/tests/python_env.spec.ts

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@ test.describe('python environment variable injection on sqlmesh_lsp', () => {
8484
}
8585
})
8686

87-
test('normal setup - set', async ({ page }) => {
87+
test('normal setup - set', async ({ page }, testInfo) => {
88+
testInfo.setTimeout(120_000)
89+
8890
const [tempDir, _] = await setupEnvironment()
8991
writeEnvironmentConfig(tempDir)
9092
const env_file = path.join(tempDir, '.env')
@@ -126,7 +128,9 @@ async function setupTcloudProject(
126128
}
127129

128130
test.describe('tcloud version', () => {
129-
test('normal setup - error ', async ({ page }) => {
131+
test('normal setup - error ', async ({ page }, testInfo) => {
132+
testInfo.setTimeout(120_000)
133+
130134
const [tempDir, pythonDetails] = await setupEnvironment()
131135
await setupTcloudProject(tempDir, pythonDetails)
132136
writeEnvironmentConfig(tempDir)
@@ -141,7 +145,9 @@ test.describe('tcloud version', () => {
141145
}
142146
})
143147

144-
test('normal setup - set', async ({ page }) => {
148+
test('normal setup - set', async ({ page }, testInfo) => {
149+
testInfo.setTimeout(120_000)
150+
145151
const [tempDir, pythonDetails] = await setupEnvironment()
146152
await setupTcloudProject(tempDir, pythonDetails)
147153
writeEnvironmentConfig(tempDir)

0 commit comments

Comments
 (0)