Skip to content

Commit

Permalink
feat: support multipartUpload set storage-class header
Browse files Browse the repository at this point in the history
  • Loading branch information
csg01123119 committed Jul 19, 2024
1 parent a430e4d commit e89a5e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/node/object.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1402,7 +1402,7 @@ describe('test/object.test.js', () => {
* and the performance may be inconsistent
* between different regions
*/
it('should get image stream with image process', async () => {
it.only('should get image stream with image process', async () => {
const imageName = `${prefix}ali-sdk/oss/nodejs-test-getstream-image-1024x768.png`;
const originImagePath = path.join(__dirname, './fixtures/nodejs-1024x768.png');
const processedImagePath = path.join(__dirname, './fixtures/nodejs-processed-w200.png');
Expand All @@ -1418,7 +1418,7 @@ describe('test/object.test.js', () => {

let isEqual = await streamEqual(result.stream, fs.createReadStream(processedImagePath));
let isEqual2 = await streamEqual(result2.stream, fs.createReadStream(processedImagePath2));

console.log('cc', isEqual, isEqual2);
assert(isEqual || isEqual2);
result = await store.getStream(imageName, {
process: 'image/resize,w_200',
Expand Down

0 comments on commit e89a5e5

Please sign in to comment.