1
0
Fork 0

replacing timeout

pull/1712/head
Vallie Joseph 2024-04-09 20:51:12 +00:00
parent 0d3d3bbb40
commit 90fca23920
3 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
"lint": "eslint packages/**/*.ts",
"lint-fix": "eslint packages/**/*.ts --fix",
"new-package": "scripts/create-package",
"test": "jest --testTimeout 62000"
"test": "jest --testTimeout 60000"
},
"devDependencies": {
"@types/jest": "^29.5.4",

View File

@ -425,7 +425,7 @@ describe('upload-artifact', () => {
options.onProgress({loadedBytes: 100})
resolve()
}, 61000) // Delay longer than your timeout
}, 31000) // Delay longer than your timeout
})
}
)

View File

@ -30,7 +30,7 @@ export async function uploadZipToBlobStorage(
const bufferSize = getUploadChunkSize()
const blobClient = new BlobClient(authenticatedUploadURL)
const blockBlobClient = blobClient.getBlockBlobClient()
const timeoutDuration = 600000 // 30 seconds
const timeoutDuration = 300000 // 30 seconds
core.debug(
`Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`