aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/shared
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/shared')
-rw-r--r--server/tests/shared/peertube-runner-process.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/server/tests/shared/peertube-runner-process.ts b/server/tests/shared/peertube-runner-process.ts
index b3c8dfe0e..9304ebcc8 100644
--- a/server/tests/shared/peertube-runner-process.ts
+++ b/server/tests/shared/peertube-runner-process.ts
@@ -60,8 +60,12 @@ export class PeerTubeRunnerProcess {
60 return execa.node(this.getRunnerPath(), args) 60 return execa.node(this.getRunnerPath(), args)
61 } 61 }
62 62
63 unregisterPeerTubeInstance () { 63 unregisterPeerTubeInstance (options: {
64 const args = [ 'unregister', '--url', this.server.url, ...this.buildIdArg() ] 64 runnerName: string
65 }) {
66 const { runnerName } = options
67
68 const args = [ 'unregister', '--url', this.server.url, '--runner-name', runnerName, ...this.buildIdArg() ]
65 return execa.node(this.getRunnerPath(), args) 69 return execa.node(this.getRunnerPath(), args)
66 } 70 }
67 71