diff options
author | Chocobozzz <me@florianbigard.com> | 2020-11-02 15:43:44 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-11-09 15:33:04 +0100 |
commit | af4ae64f6faf38f8179f2e07d3cd4ad60006be92 (patch) | |
tree | a2d39ddc138d49619f03f11e003c2302f824286c /shared/extra-utils/server | |
parent | 77e9f859c6ad75ba179dec74e5410cc651eaa49b (diff) | |
download | PeerTube-af4ae64f6faf38f8179f2e07d3cd4ad60006be92.tar.gz PeerTube-af4ae64f6faf38f8179f2e07d3cd4ad60006be92.tar.zst PeerTube-af4ae64f6faf38f8179f2e07d3cd4ad60006be92.zip |
Begin live tests
Diffstat (limited to 'shared/extra-utils/server')
-rw-r--r-- | shared/extra-utils/server/servers.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared/extra-utils/server/servers.ts b/shared/extra-utils/server/servers.ts index 994aac628..b4bd55968 100644 --- a/shared/extra-utils/server/servers.ts +++ b/shared/extra-utils/server/servers.ts | |||
@@ -10,10 +10,12 @@ import { randomInt } from '../../core-utils/miscs/miscs' | |||
10 | 10 | ||
11 | interface ServerInfo { | 11 | interface ServerInfo { |
12 | app: ChildProcess | 12 | app: ChildProcess |
13 | |||
13 | url: string | 14 | url: string |
14 | host: string | 15 | host: string |
15 | 16 | hostname: string | |
16 | port: number | 17 | port: number |
18 | |||
17 | parallel: boolean | 19 | parallel: boolean |
18 | internalServerNumber: number | 20 | internalServerNumber: number |
19 | serverNumber: number | 21 | serverNumber: number |
@@ -109,6 +111,7 @@ async function flushAndRunServer (serverNumber: number, configOverride?: Object, | |||
109 | serverNumber, | 111 | serverNumber, |
110 | url: `http://localhost:${port}`, | 112 | url: `http://localhost:${port}`, |
111 | host: `localhost:${port}`, | 113 | host: `localhost:${port}`, |
114 | hostname: 'localhost', | ||
112 | client: { | 115 | client: { |
113 | id: null, | 116 | id: null, |
114 | secret: null | 117 | secret: null |