1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-05 02:29:26 +02:00

Pass VNC server name in options.

This commit is contained in:
Simo Kinnunen 2015-09-14 19:40:40 +09:00
parent 4b03fd81b3
commit 02af21e17c
3 changed files with 13 additions and 5 deletions

View file

@ -20,9 +20,13 @@ module.exports = syrup.serial()
function createServer() {
log.info('Starting VNC server on port %d', options.vncPort)
var opts = {
name: options.serial
}
var vnc = new VncServer(net.createServer({
allowHalfOpen: true
}))
}), opts)
var listeningListener, errorListener
return new Promise(function(resolve, reject) {