Skip to content

Commit

Permalink
chore: tweaking test cases (#1115)
Browse files Browse the repository at this point in the history
  • Loading branch information
taotao7 authored Jun 7, 2022
1 parent d2aab4e commit 1697cc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/schedule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Schdule Delete'

on:
schedule:
- cron: '0 0 * * 1,3,5'
- cron: '0 0 * * 1,2,3,4,5,6,0'

jobs:
cleanAllBucket:
Expand Down
6 changes: 3 additions & 3 deletions test/node/bucket.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ describe('test/bucket.test.js', () => {
assert.equal(result.res.status, 200);
});
// restore object will have cache
// after(async () => {
// await utils.cleanBucket(store, bucket);
// });
after(async () => {
await utils.cleanBucket(store, bucket);
});

describe('setBucket()', () => {
it('should check bucket name', async () => {
Expand Down

0 comments on commit 1697cc3

Please sign in to comment.