From 4d57cc4476604704a0150795473a73875ea54728 Mon Sep 17 00:00:00 2001 From: gxkl Date: Mon, 21 Oct 2024 19:58:44 +0800 Subject: [PATCH] test: skip list --- test/OSSObject.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/OSSObject.test.ts b/test/OSSObject.test.ts index 86ebde2e..5258c60d 100644 --- a/test/OSSObject.test.ts +++ b/test/OSSObject.test.ts @@ -22,7 +22,8 @@ describe('test/OSSObject.test.ts', () => { const __filename = fileURLToPath(import.meta.url); const __dirname = path.dirname(__filename); - describe('list()', () => { + // OSSClientError: Access denied by bucket policy. + describe.only('list()', () => { // oss.jpg // fun/test.jpg // fun/movie/001.avi @@ -167,7 +168,8 @@ describe('test/OSSObject.test.ts', () => { }); }); - describe('listV2()', () => { + // OSSClientError: Access denied by bucket policy. + describe.only('listV2()', () => { const listPrefix = `${prefix}oss-client/listV2/`; before(async () => { await ossObject.put(`${listPrefix}oss.jpg`, Buffer.from('oss.jpg'));