Skip to content

Commit

Permalink
test: skip list
Browse files Browse the repository at this point in the history
  • Loading branch information
gxkl committed Oct 21, 2024
1 parent 9fbecde commit 4d57cc4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/OSSObject.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()', () => {

Check warning on line 26 in test/OSSObject.test.ts

View workflow job for this annotation

GitHub Actions / build (16, ubuntu-latest)

describe.only not permitted

Check warning on line 26 in test/OSSObject.test.ts

View workflow job for this annotation

GitHub Actions / build (18, ubuntu-latest)

describe.only not permitted

Check warning on line 26 in test/OSSObject.test.ts

View workflow job for this annotation

GitHub Actions / build (20, ubuntu-latest)

describe.only not permitted

Check warning on line 26 in test/OSSObject.test.ts

View workflow job for this annotation

GitHub Actions / build (22, ubuntu-latest)

describe.only not permitted
// oss.jpg
// fun/test.jpg
// fun/movie/001.avi
Expand Down Expand Up @@ -167,7 +168,8 @@ describe('test/OSSObject.test.ts', () => {
});
});

describe('listV2()', () => {
// OSSClientError: Access denied by bucket policy.
describe.only('listV2()', () => {

Check warning on line 172 in test/OSSObject.test.ts

View workflow job for this annotation

GitHub Actions / build (16, ubuntu-latest)

describe.only not permitted

Check warning on line 172 in test/OSSObject.test.ts

View workflow job for this annotation

GitHub Actions / build (18, ubuntu-latest)

describe.only not permitted

Check warning on line 172 in test/OSSObject.test.ts

View workflow job for this annotation

GitHub Actions / build (20, ubuntu-latest)

describe.only not permitted

Check warning on line 172 in test/OSSObject.test.ts

View workflow job for this annotation

GitHub Actions / build (22, ubuntu-latest)

describe.only not permitted
const listPrefix = `${prefix}oss-client/listV2/`;
before(async () => {
await ossObject.put(`${listPrefix}oss.jpg`, Buffer.from('oss.jpg'));
Expand Down

0 comments on commit 4d57cc4

Please sign in to comment.