diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-12 13:30:41 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-12 13:30:41 +0200 |
commit | 3c25d37aef66b125e8c66d38b04eb763f1b17bc6 (patch) | |
tree | 27be1c7f6db6a221c700489a43b1e9c389ea94e3 /shared/extra-utils/mock-servers/mock-instances-index.ts | |
parent | 221d876fa7a9e92a5a6721b68c31d015b325393f (diff) | |
download | PeerTube-3c25d37aef66b125e8c66d38b04eb763f1b17bc6.tar.gz PeerTube-3c25d37aef66b125e8c66d38b04eb763f1b17bc6.tar.zst PeerTube-3c25d37aef66b125e8c66d38b04eb763f1b17bc6.zip |
Try to fix mock server ports
Diffstat (limited to 'shared/extra-utils/mock-servers/mock-instances-index.ts')
-rw-r--r-- | shared/extra-utils/mock-servers/mock-instances-index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/mock-servers/mock-instances-index.ts b/shared/extra-utils/mock-servers/mock-instances-index.ts index 2aabef9d2..5baec00de 100644 --- a/shared/extra-utils/mock-servers/mock-instances-index.ts +++ b/shared/extra-utils/mock-servers/mock-instances-index.ts | |||
@@ -29,7 +29,7 @@ export class MockInstancesIndex { | |||
29 | }) | 29 | }) |
30 | }) | 30 | }) |
31 | 31 | ||
32 | const port = 42101 + randomInt(1, 100) | 32 | const port = 42000 + randomInt(1, 1000) |
33 | app.listen(port, () => res(port)) | 33 | app.listen(port, () => res(port)) |
34 | }) | 34 | }) |
35 | } | 35 | } |