mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-05-01 12:18:05 +08:00
Updated cache download to segment download
This commit is contained in:
2
packages/cache/__tests__/options.test.ts
vendored
2
packages/cache/__tests__/options.test.ts
vendored
@@ -63,7 +63,7 @@ test('getDownloadOptions overrides download timeout minutes', async () => {
|
||||
timeoutInMs: 20000,
|
||||
segmentTimeoutInMs: 3600000
|
||||
}
|
||||
process.env.CACHE_DOWNLOAD_TIMEOUT_MINS = '10'
|
||||
process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS = '10'
|
||||
const actualOptions = getDownloadOptions(expectedOptions)
|
||||
|
||||
expect(actualOptions.useAzureSdk).toEqual(expectedOptions.useAzureSdk)
|
||||
|
||||
Reference in New Issue
Block a user