Skip to content

Commit

Permalink
fix ci timeout set timeout 10s
Browse files Browse the repository at this point in the history
  • Loading branch information
sabakugaara committed May 31, 2017
1 parent a225a6b commit 745becf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion tests/client/upyun.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ client.setBodySignCallback((ignore, params) => {
return Promise.resolve(sign.getPolicyAndAuthorization(bucket, params))
})

describe('index', () => {
describe('index', function () => {
this.timeout(10000)
describe('#blockUpload', () => {
it('should upload file success', async () => {
const f = new Blob(['text'], {type: 'text/plain'})
Expand Down
3 changes: 2 additions & 1 deletion tests/server/upyun.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ const fixtures = path.join(__dirname, '../fixtures')

const client = new Upyun(new Bucket('sdkimg', 'tester', 'grjxv2mxELR3'))

describe('index', () => {
describe('index', function () {
this.timeout(10000)
describe('#usage', () => {
it('should get usage success', async () => {
let data = await client.usage()
Expand Down

0 comments on commit 745becf

Please sign in to comment.