diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-19 13:33:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-19 13:33:27 +0200 |
commit | 6403a6bd019a30848f0e9b5f6e7b9734229ab0f1 (patch) | |
tree | 8fb162cdb5e42ee6bb5a11acedb88218b12aa200 /packages/peertube-runner | |
parent | 30453cb5ba523020c488dfb7986a9848870393a5 (diff) | |
download | PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.tar.gz PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.tar.zst PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.zip |
peertube runner tests in parallel
Diffstat (limited to 'packages/peertube-runner')
-rw-r--r-- | packages/peertube-runner/shared/config-manager.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/peertube-runner/shared/config-manager.ts b/packages/peertube-runner/shared/config-manager.ts index 352bae1fa..548eeab85 100644 --- a/packages/peertube-runner/shared/config-manager.ts +++ b/packages/peertube-runner/shared/config-manager.ts | |||
@@ -112,7 +112,7 @@ export class ConfigManager { | |||
112 | // --------------------------------------------------------------------------- | 112 | // --------------------------------------------------------------------------- |
113 | 113 | ||
114 | isTestInstance () { | 114 | isTestInstance () { |
115 | return this.id === 'test' | 115 | return typeof this.id === 'string' && this.id.match(/^test-\d$/) |
116 | } | 116 | } |
117 | 117 | ||
118 | // --------------------------------------------------------------------------- | 118 | // --------------------------------------------------------------------------- |