Skip to content

Commit

Permalink
Increase tests timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Jan 18, 2018
1 parent 5668bf2 commit e212f88
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion server/tests/activitypub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Test activitypub', function () {
let server: ServerInfo = null

before(async function () {
this.timeout(10000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/check-params/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Test users API validators', function () {
// ---------------------------------------------------------------

before(async function () {
this.timeout(20000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/check-params/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('Test config API validators', function () {
// ---------------------------------------------------------------

before(async function () {
this.timeout(20000)
this.timeout(30000)

await flushTests()
server = await runServer(1)
Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/check-params/follows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('Test server follows API validators', function () {
// ---------------------------------------------------------------

before(async function () {
this.timeout(20000)
this.timeout(30000)

await flushTests()
server = await runServer(1)
Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/check-params/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('Test users API validators', function () {
// ---------------------------------------------------------------

before(async function () {
this.timeout(20000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/check-params/video-abuses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('Test video abuses API validators', function () {
// ---------------------------------------------------------------

before(async function () {
this.timeout(20000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/check-params/video-channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe('Test videos API validator', function () {
// ---------------------------------------------------------------

before(async function () {
this.timeout(20000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/check-params/video-comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Test video comments API validator', function () {
// ---------------------------------------------------------------

before(async function () {
this.timeout(20000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/check-params/videos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Test videos API validator', function () {
// ---------------------------------------------------------------

before(async function () {
this.timeout(20000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/server/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('Test config', function () {
let server = null

before(async function () {
this.timeout(10000)
this.timeout(30000)

await flushTests()
server = await runServer(1)
Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/server/follows.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe('Test follows', function () {
let servers: ServerInfo[] = []

before(async function () {
this.timeout(20000)
this.timeout(30000)

servers = await flushAndRunMultipleServers(3)

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/server/handle-down.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('Test handle downs', function () {
})

before(async function () {
this.timeout(20000)
this.timeout(30000)

servers = await flushAndRunMultipleServers(2)

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/users/users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Test users', function () {
let userId: number

before(async function () {
this.timeout(10000)
this.timeout(30000)

await flushTests()
server = await runServer(1)
Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Test services', function () {
let server: ServerInfo = null

before(async function () {
this.timeout(10000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/single-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe('Test a single server', function () {
}

before(async function () {
this.timeout(10000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/video-channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Test a video channels', function () {
let videoChannelId: number

before(async function () {
this.timeout(10000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/video-comments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe('Test video comments', function () {
let replyToDeleteId: number

before(async function () {
this.timeout(10000)
this.timeout(30000)

await flushTests()

Expand Down
2 changes: 1 addition & 1 deletion server/tests/api/videos/video-transcoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ describe('Test video transcoding', function () {
let servers: ServerInfo[] = []

before(async function () {
this.timeout(10000)
this.timeout(30000)

// Run servers
servers = await flushAndRunMultipleServers(2)
Expand Down

0 comments on commit e212f88

Please sign in to comment.