File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ function terminateAllWorkers(callback) {
35
35
if ( worker ) {
36
36
logger . debug ( '[%s] Terminated' , worker . string ) ;
37
37
clearTimeout ( worker . activityTimeout ) ;
38
+ clearTimeout ( worker . testActivityTimeout ) ;
38
39
delete workers [ key ] ;
39
40
delete workerKeys [ worker . id ] ;
40
41
}
@@ -220,7 +221,7 @@ var statusPoller = {
220
221
}
221
222
} , activityTimeout * 1000 ) ;
222
223
223
- setTimeout ( function ( ) {
224
+ worker . testActivityTimeout = setTimeout ( function ( ) {
224
225
if ( worker . acknowledged ) {
225
226
var subject = "Tests timed out on: " + worker . string ;
226
227
var content = "Worker details:\n" + JSON . stringify ( worker . config , null , 4 ) ;
@@ -293,4 +294,3 @@ try {
293
294
console . log ( e ) ;
294
295
console . log ( 'Invalid command.' ) ;
295
296
}
296
-
Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ exports.Server = function Server(bsClient, workers) {
198
198
logger . debug ( '[%s] Terminated' , getTestBrowserInfo ( worker ) ) ;
199
199
200
200
clearTimeout ( workers [ uuid ] . activityTimeout ) ;
201
+ clearTimeout ( workers [ uuid ] . testActivityTimeout ) ;
201
202
delete workers [ uuid ] ;
202
203
203
204
if ( utils . objectSize ( workers ) === 0 ) {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ var uuid = function uuidGenerator() {
26
26
} ;
27
27
28
28
var 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 ) ;
30
30
} ;
31
31
32
32
var objectSize = function objectSize ( obj ) {
You can’t perform that action at this time.
0 commit comments