cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alsoro...@apache.org
Subject cordova-paramedic git commit: CB-13028 Fix local browser test run
Date Fri, 21 Jul 2017 11:41:09 GMT
Repository: cordova-paramedic
Updated Branches:
  refs/heads/master 0c9f8517c -> 4776b4da1


CB-13028 Fix local browser test run


Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/4776b4da
Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/4776b4da
Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/4776b4da

Branch: refs/heads/master
Commit: 4776b4da1566caf34ac33c4d4e20ee719622d766
Parents: 0c9f851
Author: Alexander Sorokin <alexander.sorokin@akvelon.com>
Authored: Fri Jul 21 14:41:01 2017 +0300
Committer: Alexander Sorokin <alexander.sorokin@akvelon.com>
Committed: Fri Jul 21 14:41:01 2017 +0300

----------------------------------------------------------------------
 lib/paramedic.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/4776b4da/lib/paramedic.js
----------------------------------------------------------------------
diff --git a/lib/paramedic.js b/lib/paramedic.js
index 6988646..32565e6 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -75,8 +75,8 @@ ParamedicRunner.prototype.run = function () {
     })
     .then(function () {
         if (self.config.runMainTests()) {
-            var isBrowser = self.config.getPlatformId() === util.BROWSER;
-            return Server.startServer(self.config.getPorts(), self.config.getExternalServerUrl(),
self.config.getUseTunnel(), isBrowser);
+            var noListener = (self.config.getPlatformId() === util.BROWSER) && self.config.shouldUseSauce();
+            return Server.startServer(self.config.getPorts(), self.config.getExternalServerUrl(),
self.config.getUseTunnel(), noListener);
         }
     })
     .then(function (server) {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message