diff options
Diffstat (limited to 'server/tests/api/redundancy/redundancy.ts')
-rw-r--r-- | server/tests/api/redundancy/redundancy.ts | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/server/tests/api/redundancy/redundancy.ts b/server/tests/api/redundancy/redundancy.ts index 86b40cfe6..b5929129a 100644 --- a/server/tests/api/redundancy/redundancy.ts +++ b/server/tests/api/redundancy/redundancy.ts | |||
@@ -307,7 +307,7 @@ describe('Test videos redundancy', function () { | |||
307 | const strategy = 'most-views' | 307 | const strategy = 'most-views' |
308 | 308 | ||
309 | before(function () { | 309 | before(function () { |
310 | this.timeout(120000) | 310 | this.timeout(240000) |
311 | 311 | ||
312 | return createServers(strategy) | 312 | return createServers(strategy) |
313 | }) | 313 | }) |
@@ -357,7 +357,7 @@ describe('Test videos redundancy', function () { | |||
357 | const strategy = 'trending' | 357 | const strategy = 'trending' |
358 | 358 | ||
359 | before(function () { | 359 | before(function () { |
360 | this.timeout(120000) | 360 | this.timeout(240000) |
361 | 361 | ||
362 | return createServers(strategy) | 362 | return createServers(strategy) |
363 | }) | 363 | }) |
@@ -420,7 +420,7 @@ describe('Test videos redundancy', function () { | |||
420 | const strategy = 'recently-added' | 420 | const strategy = 'recently-added' |
421 | 421 | ||
422 | before(function () { | 422 | before(function () { |
423 | this.timeout(120000) | 423 | this.timeout(240000) |
424 | 424 | ||
425 | return createServers(strategy, { min_views: 3 }) | 425 | return createServers(strategy, { min_views: 3 }) |
426 | }) | 426 | }) |
@@ -491,7 +491,7 @@ describe('Test videos redundancy', function () { | |||
491 | const strategy = 'recently-added' | 491 | const strategy = 'recently-added' |
492 | 492 | ||
493 | before(async function () { | 493 | before(async function () { |
494 | this.timeout(120000) | 494 | this.timeout(240000) |
495 | 495 | ||
496 | await createServers(strategy, { min_views: 3 }, false) | 496 | await createServers(strategy, { min_views: 3 }, false) |
497 | }) | 497 | }) |
@@ -553,7 +553,7 @@ describe('Test videos redundancy', function () { | |||
553 | 553 | ||
554 | describe('With manual strategy', function () { | 554 | describe('With manual strategy', function () { |
555 | before(function () { | 555 | before(function () { |
556 | this.timeout(120000) | 556 | this.timeout(240000) |
557 | 557 | ||
558 | return createServers(null) | 558 | return createServers(null) |
559 | }) | 559 | }) |
@@ -632,7 +632,7 @@ describe('Test videos redundancy', function () { | |||
632 | } | 632 | } |
633 | 633 | ||
634 | before(async function () { | 634 | before(async function () { |
635 | this.timeout(120000) | 635 | this.timeout(240000) |
636 | 636 | ||
637 | await createServers(strategy, { min_lifetime: '7 seconds', min_views: 0 }) | 637 | await createServers(strategy, { min_lifetime: '7 seconds', min_views: 0 }) |
638 | 638 | ||
@@ -674,7 +674,7 @@ describe('Test videos redundancy', function () { | |||
674 | const strategy = 'recently-added' | 674 | const strategy = 'recently-added' |
675 | 675 | ||
676 | before(async function () { | 676 | before(async function () { |
677 | this.timeout(120000) | 677 | this.timeout(240000) |
678 | 678 | ||
679 | await createServers(strategy, { min_lifetime: '7 seconds', min_views: 0 }) | 679 | await createServers(strategy, { min_lifetime: '7 seconds', min_views: 0 }) |
680 | 680 | ||
@@ -698,7 +698,7 @@ describe('Test videos redundancy', function () { | |||
698 | }) | 698 | }) |
699 | 699 | ||
700 | it('Should cache video 2 webseeds on the first video', async function () { | 700 | it('Should cache video 2 webseeds on the first video', async function () { |
701 | this.timeout(120000) | 701 | this.timeout(240000) |
702 | 702 | ||
703 | await waitJobs(servers) | 703 | await waitJobs(servers) |
704 | 704 | ||