Skip to content

Commit

Permalink
test: add retry=4 to aggregate e2e test run
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Nov 7, 2024
1 parent 1532651 commit 7a884c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.browser.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
},
Expand Down

0 comments on commit 7a884c6

Please sign in to comment.