Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

fix(launcher) workers fail to launch after tunnel #43

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ var createBrowserStackTunnel = function (logger, config, emitter) {
log.error('Can not establish the tunnel.\n%s', error.toString())
deferred.reject(error)
} else {
log.debug('Tunnel established.')
deferred.resolve()
setTimeout(function () {
log.debug('Tunnel established.')
deferred.resolve()
}, 2000) // Give the tunnel time to become actually established
}
})

Expand Down