From 6ba62e82a71ff31c8684d4d5d742d05049615b71 Mon Sep 17 00:00:00 2001 From: Matthew Podwysocki Date: Tue, 19 Nov 2024 13:35:07 -0500 Subject: [PATCH] [identity] Bump vitest hook/test timeout (#31841) ### Packages impacted by this PR - @azure/identity ### Issues associated with this PR ### Describe the problem that is addressed by this PR Bumps the `hookTimeout` and `testTimeout` for @azure/identity tests. ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ ### Provide a list of related PRs _(if any)_ ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [ ] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary) --- sdk/identity/identity/vitest.browser.config.ts | 2 ++ sdk/identity/identity/vitest.config.ts | 2 ++ sdk/identity/identity/vitest.managed-identity.config.ts | 2 ++ 3 files changed, 6 insertions(+) diff --git a/sdk/identity/identity/vitest.browser.config.ts b/sdk/identity/identity/vitest.browser.config.ts index 304ad6de01f..2303fced5fd 100644 --- a/sdk/identity/identity/vitest.browser.config.ts +++ b/sdk/identity/identity/vitest.browser.config.ts @@ -10,6 +10,8 @@ export default mergeConfig( test: { include: ["dist-test/browser/test/**/*.spec.js"], exclude: ["dist-test/browser/test/snippets.spec.js"], + hookTimeout: 500000, + testTimeout: 500000, }, }), ); diff --git a/sdk/identity/identity/vitest.config.ts b/sdk/identity/identity/vitest.config.ts index cf36d0cf28a..6f96ac13b36 100644 --- a/sdk/identity/identity/vitest.config.ts +++ b/sdk/identity/identity/vitest.config.ts @@ -14,6 +14,8 @@ export default mergeConfig( "test/snippets.spec.ts", "test/integration/**/*.spec.ts", ], + hookTimeout: 500000, + testTimeout: 500000, }, }), ); diff --git a/sdk/identity/identity/vitest.managed-identity.config.ts b/sdk/identity/identity/vitest.managed-identity.config.ts index ab40c26ebe7..dea28373e23 100644 --- a/sdk/identity/identity/vitest.managed-identity.config.ts +++ b/sdk/identity/identity/vitest.managed-identity.config.ts @@ -9,6 +9,8 @@ export default mergeConfig( defineConfig({ test: { include: ["test/integration/**/*.spec.ts"], + hookTimeout: 500000, + testTimeout: 500000, }, }), );