From 5bd8319f990ae6056caa829c8f0a559ca86e4985 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Thu, 1 May 2014 08:52:20 -0700 Subject: [PATCH] Add retry limit to sauce retry message. --- test/saucelabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/saucelabs.js b/test/saucelabs.js index ed5ea98a5..9a1c43b91 100644 --- a/test/saucelabs.js +++ b/test/saucelabs.js @@ -423,7 +423,7 @@ Job.prototype.restart = function(callback) { label = options.name + ':'; logInline(); - console.log(label + ' ' + description + ' restart #%d', ++this.attempts); + console.log(label + ' ' + description + ' restart #%d of %d', ++this.attempts, this.retries); this.stop(_.bind(this.start, this, callback)); };