diff --git a/test/saucelabs.js b/test/saucelabs.js index e438d4702..0a5a76e5b 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -611,7 +611,7 @@ Job.prototype.stop = function(callback) { this.statusId = clearTimeout(this.statusId); } var onStop = _.bind(onJobStop, this); - if (this.id == null || !this.running) { + if (!this.running) { _.defer(onStop); return this; }