Skip to content

Commit

Permalink
updating timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
vmjoseph committed Apr 9, 2024
1 parent 4fc93ec commit 2ed9516
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/artifact/__tests__/upload-artifact.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ describe('upload-artifact', () => {
options.onProgress({loadedBytes: 100})

resolve()
}, 31000) // Delay longer than your timeout
}, 61000) // Delay longer than your timeout
})
}
)
Expand Down
2 changes: 1 addition & 1 deletion packages/artifact/src/internal/upload/blob-upload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function uploadZipToBlobStorage(
const bufferSize = getUploadChunkSize()
const blobClient = new BlobClient(authenticatedUploadURL)
const blockBlobClient = blobClient.getBlockBlobClient()
const timeoutDuration = 300000 // 30 seconds
const timeoutDuration = 600000 // 30 seconds

core.debug(
`Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`
Expand Down

0 comments on commit 2ed9516

Please sign in to comment.