diff --git a/packages/e2e-tests/lib/runAllTestApps.ts b/packages/e2e-tests/lib/runAllTestApps.ts index ad30c34e4738..d5f4c247f2e6 100644 --- a/packages/e2e-tests/lib/runAllTestApps.ts +++ b/packages/e2e-tests/lib/runAllTestApps.ts @@ -8,7 +8,11 @@ export async function runAllTestApps( recipePaths: string[], envVarsToInject: Record, ): Promise { - const maxParallel = process.env.CI ? 3 : 6; + const maxParallel = process.env.CANARY_E2E_TEST + ? 1 // TODO: figure out why concurrent tests fail for Next.js and remove this concurrency limitation + : process.env.CI + ? 3 + : 6; const recipeInstances = constructRecipeInstances(recipePaths);