diff --git a/launcher/src/backend/SSHService.js b/launcher/src/backend/SSHService.js index 3d0e0db0d..290f2897c 100755 --- a/launcher/src/backend/SSHService.js +++ b/launcher/src/backend/SSHService.js @@ -91,7 +91,8 @@ export class SSHService { if ( this.connectionInfo && this.addingConnection && - (this.connectionPool.length < 6 || this.connectionPool[threshholdIndex]?._chanMgr?._count > 0) + (this.connectionPool.length < 6 || this.connectionPool[threshholdIndex]?._chanMgr?._count > 0) && + process.env.NODE_ENV != "test" ) { await this.connect(this.connectionInfo); }