mirror of https://github.com/actions/toolkit
replacing timeout
parent
0d3d3bbb40
commit
90fca23920
|
@ -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",
|
||||
|
|
|
@ -425,7 +425,7 @@ describe('upload-artifact', () => {
|
|||
options.onProgress({loadedBytes: 100})
|
||||
|
||||
resolve()
|
||||
}, 61000) // Delay longer than your timeout
|
||||
}, 31000) // Delay longer than your timeout
|
||||
})
|
||||
}
|
||||
)
|
||||
|
|
|
@ -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}`
|
||||
|
|
Loading…
Reference in New Issue