mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1185629 - ensure Sync tests arrange for an auto-selected allowed port for its test servers. r=oeger
This commit is contained in:
parent
52743017b9
commit
3679ce9f84
@ -545,13 +545,13 @@ SyncServer.prototype = {
|
||||
* Start the SyncServer's underlying HTTP server.
|
||||
*
|
||||
* @param port
|
||||
* The numeric port on which to start. A falsy value implies the
|
||||
* default, a randomly chosen port.
|
||||
* The numeric port on which to start. -1 implies the default, a
|
||||
* randomly chosen port.
|
||||
* @param cb
|
||||
* A callback function (of no arguments) which is invoked after
|
||||
* startup.
|
||||
*/
|
||||
start: function start(port, cb) {
|
||||
start: function start(port = -1, cb) {
|
||||
if (this.started) {
|
||||
this._log.warn("Warning: server already started on " + this.port);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user