From 7a884c67c54e3c3913f65a3ad8adbaa8c8d8b9f0 Mon Sep 17 00:00:00 2001 From: George Fu Date: Thu, 7 Nov 2024 18:09:33 +0000 Subject: [PATCH] test: add retry=4 to aggregate e2e test run --- Makefile | 4 ++-- vitest.config.browser.e2e.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0cf81856f277..96430d3db384 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,8 @@ test-integration: build-s3-browser-bundle make test-protocols; test-e2e: build-s3-browser-bundle - npx vitest run -c vitest.config.e2e.ts - npx vitest run -c vitest.config.browser.e2e.ts + npx vitest run -c vitest.config.e2e.ts --retry=4 + npx vitest run -c vitest.config.browser.e2e.ts --retry=4 build-s3-browser-bundle: node ./clients/client-s3/test/browser-build/esbuild diff --git a/vitest.config.browser.e2e.ts b/vitest.config.browser.e2e.ts index 4dccbddcb87b..2c2ec0e7170d 100644 --- a/vitest.config.browser.e2e.ts +++ b/vitest.config.browser.e2e.ts @@ -2,7 +2,7 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ test: { - exclude: ["**/*/node_modules/**/*.spec.ts"], + exclude: ["**/*/node_modules/**/*.spec.ts", "node_modules"], include: ["**/*.browser.e2e.spec.ts"], environment: "happy-dom", },