File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ function terminateAllWorkers(callback) {
3535 if ( worker ) {
3636 logger . debug ( '[%s] Terminated' , worker . string ) ;
3737 clearTimeout ( worker . activityTimeout ) ;
38+ clearTimeout ( worker . testActivityTimeout ) ;
3839 delete workers [ key ] ;
3940 delete workerKeys [ worker . id ] ;
4041 }
@@ -220,7 +221,7 @@ var statusPoller = {
220221 }
221222 } , activityTimeout * 1000 ) ;
222223
223- setTimeout ( function ( ) {
224+ worker . testActivityTimeout = setTimeout ( function ( ) {
224225 if ( worker . acknowledged ) {
225226 var subject = "Tests timed out on: " + worker . string ;
226227 var content = "Worker details:\n" + JSON . stringify ( worker . config , null , 4 ) ;
@@ -293,4 +294,3 @@ try {
293294 console . log ( e ) ;
294295 console . log ( 'Invalid command.' ) ;
295296}
296-
Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ exports.Server = function Server(bsClient, workers) {
198198 logger . debug ( '[%s] Terminated' , getTestBrowserInfo ( worker ) ) ;
199199
200200 clearTimeout ( workers [ uuid ] . activityTimeout ) ;
201+ clearTimeout ( workers [ uuid ] . testActivityTimeout ) ;
201202 delete workers [ uuid ] ;
202203
203204 if ( utils . objectSize ( workers ) === 0 ) {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var uuid = function uuidGenerator() {
2626} ;
2727
2828var browserString = function browserString ( config ) {
29- return config . os + ' ' + config . os_version + ', ' + titleCase ( config . browser || config . device ) + ' ' + ( config . browser_version || config . device ) ;
29+ return config . os + ' ' + config . os_version + ', ' + ( config . browser == 'ie' ? 'IE' : titleCase ( config . browser || config . device ) ) + ' ' + ( config . browser_version || config . device ) ;
3030} ;
3131
3232var objectSize = function objectSize ( obj ) {
You can’t perform that action at this time.
0 commit comments