From afd2aadbf14ebbeeca4048f231b40cb9281a0434 Mon Sep 17 00:00:00 2001 From: Luca Forstner Date: Mon, 5 Jun 2023 11:44:47 +0200 Subject: [PATCH] test(e2e): Disable concurrent tests for canary tests --- packages/e2e-tests/lib/runAllTestApps.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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);