Skip to content

Commit 5db69dc

Browse files
committed
avoid retry as it causes hang
1 parent 9b167ac commit 5db69dc

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

packages/core/src/test/credentials/auth.test.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import { UserCredentialsUtils } from '../../shared/credentials/userCredentialsUt
1919
import { getCredentialsFilename } from '../../auth/credentials/sharedCredentialsFile'
2020
import { Connection, isIamConnection, isSsoConnection, scopesSsoAccountAccess } from '../../auth/connection'
2121
import { AuthNode, createDeleteConnectionButton, promptForConnection } from '../../auth/utils'
22-
import { isWin } from '../../shared/vscode/env'
2322

2423
const ssoProfile = createSsoProfile()
2524
const scopedSsoProfile = createSsoProfile({ scopes: ['foo'] })
@@ -508,10 +507,10 @@ describe('Auth', function () {
508507
})
509508
for (const _ of Array.from({ length: 1000 }, (i) => i)) {
510509
it('does not cache if the credentials file changes', async function () {
511-
if (isWin()) {
512-
this.retries(5)
513-
this.timeout(30000)
514-
}
510+
// if (isWin()) {
511+
// this.retries(5)
512+
// this.timeout(30000)
513+
// }
515514

516515
const initialCreds = {
517516
profileName: 'default',

0 commit comments

Comments
 (0)