Skip to content

Commit

Permalink
test: reduce cases for resume uploading
Browse files Browse the repository at this point in the history
  • Loading branch information
lihsai0 committed Jun 17, 2024
1 parent fa92d96 commit b3e6781
Showing 1 changed file with 28 additions and 9 deletions.
37 changes: 28 additions & 9 deletions test/resume_up.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,6 @@ describe('test resume up', function () {
{
name: 'resumeRecorderOption',
values: [
undefined, // resume record is disabled, default
{
baseDirPath: path.join(os.tmpdir(), 'SDKCustomDir'),
resumeKey: undefined
Expand All @@ -421,15 +420,35 @@ describe('test resume up', function () {
resumeKey: 'some-resume-key.json'
}
]
},
{
name: 'resumeRecordFile',
values: [
undefined,
path.join(os.tmpdir(), 'some-resume-record-file.json')
]
}
);
)
.concat(parametrize(
{
name: 'version',
values: [
undefined,
'v1',
'v2'
]
},
{
name: 'partSize',
values: [
undefined,
6 * 1024 * 1024
]
},
{
name: 'fileSizeMB',
values: [2, 4, 6, 10]
},
{
name: 'resumeRecordFile',
values: [
path.join(os.tmpdir(), 'some-resume-record-file.json')
]
}
));

const filepathListToDelete = [];
after(function () {
Expand Down

0 comments on commit b3e6781

Please sign in to comment.