Skip to content

Commit a7cdd9c

Browse files
committed
wip
1 parent 8a5da23 commit a7cdd9c

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
"test": "vitest --project eslint-rules --project unit-and-integration --coverage",
5757
"pretest:accuracy": "npm run build",
5858
"test:accuracy": "sh ./scripts/accuracy/runAccuracyTests.sh",
59+
"test:atlas": "vitest --project atlas-long-running --coverage",
5960
"atlas:cleanup": "vitest --project atlas-cleanup"
6061
},
6162
"license": "Apache-2.0",

vitest.config.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ const vitestDefaultExcludes = [
1010
"**/{karma,rollup,webpack,vite,vitest,jest,ava,babel,nyc,cypress,tsup,build,eslint,prettier}.config.*",
1111
];
1212

13+
const longRunningTests = [
14+
"tests/integration/tools/atlas/performanceAdvisor.test.ts",
15+
];
16+
1317
export default defineConfig({
1418
test: {
1519
environment: "node",
@@ -26,7 +30,7 @@ export default defineConfig({
2630
test: {
2731
name: "unit-and-integration",
2832
include: ["**/*.test.ts"],
29-
exclude: [...vitestDefaultExcludes, "scripts/**", "tests/accuracy/**"],
33+
exclude: [...vitestDefaultExcludes, "scripts/**", "tests/accuracy/**", ...longRunningTests],
3034
},
3135
},
3236
{
@@ -50,6 +54,15 @@ export default defineConfig({
5054
include: ["scripts/cleanupAtlasTestLeftovers.test.ts"],
5155
},
5256
},
57+
{
58+
extends: true,
59+
test: {
60+
name: "atlas-long-running",
61+
include: [...longRunningTests],
62+
testTimeout: 7200000, // 2 hours for long-running tests
63+
hookTimeout: 7200000,
64+
},
65+
},
5366
],
5467
},
5568
});

0 commit comments

Comments
 (0)