diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/server/open-telemetry.ts | 6 | ||||
-rw-r--r-- | server/tests/peertube-runner/vod-transcoding.ts | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/server/open-telemetry.ts b/server/tests/api/server/open-telemetry.ts index 49f3b520b..fd85fc514 100644 --- a/server/tests/api/server/open-telemetry.ts +++ b/server/tests/api/server/open-telemetry.ts | |||
@@ -31,7 +31,7 @@ describe('Open Telemetry', function () { | |||
31 | it('Should enable open telemetry metrics', async function () { | 31 | it('Should enable open telemetry metrics', async function () { |
32 | this.timeout(120000) | 32 | this.timeout(120000) |
33 | 33 | ||
34 | server = await createSingleServer(1, { | 34 | await server.run({ |
35 | open_telemetry: { | 35 | open_telemetry: { |
36 | metrics: { | 36 | metrics: { |
37 | enabled: true | 37 | enabled: true |
@@ -73,7 +73,7 @@ describe('Open Telemetry', function () { | |||
73 | it('Should disable http request duration metrics', async function () { | 73 | it('Should disable http request duration metrics', async function () { |
74 | await server.kill() | 74 | await server.kill() |
75 | 75 | ||
76 | server = await createSingleServer(1, { | 76 | await server.run({ |
77 | open_telemetry: { | 77 | open_telemetry: { |
78 | metrics: { | 78 | metrics: { |
79 | enabled: true, | 79 | enabled: true, |
@@ -114,7 +114,7 @@ describe('Open Telemetry', function () { | |||
114 | }) | 114 | }) |
115 | 115 | ||
116 | it('Should enable open telemetry metrics', async function () { | 116 | it('Should enable open telemetry metrics', async function () { |
117 | server = await createSingleServer(1, { | 117 | await server.run({ |
118 | open_telemetry: { | 118 | open_telemetry: { |
119 | tracing: { | 119 | tracing: { |
120 | enabled: true, | 120 | enabled: true, |
diff --git a/server/tests/peertube-runner/vod-transcoding.ts b/server/tests/peertube-runner/vod-transcoding.ts index 3c0918102..d7e2df095 100644 --- a/server/tests/peertube-runner/vod-transcoding.ts +++ b/server/tests/peertube-runner/vod-transcoding.ts | |||
@@ -189,7 +189,7 @@ describe('Test VOD transcoding in peertube-runner program', function () { | |||
189 | }) | 189 | }) |
190 | 190 | ||
191 | it('Should transcode videos on manual run', async function () { | 191 | it('Should transcode videos on manual run', async function () { |
192 | this.timeout(120000) | 192 | this.timeout(240000) |
193 | 193 | ||
194 | await servers[0].config.disableTranscoding() | 194 | await servers[0].config.disableTranscoding() |
195 | 195 | ||