From 7e8a975e20dd89d80cb3a46fb80cb549f79670b5 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Tue, 15 Nov 2016 15:23:53 +0800 Subject: [PATCH] Reduce number of tries when tests time out. --- lib/tasks/qunit.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/qunit.rake b/lib/tasks/qunit.rake index f3ec75b8db5..91091111347 100644 --- a/lib/tasks/qunit.rake +++ b/lib/tasks/qunit.rake @@ -55,7 +55,7 @@ task "qunit:test" => :environment do exit if ENV['RETRY'].present? && ENV['RETRY'] == 'false' sleep 2 tries += 1 - retry unless tries == 10 + retry unless tries == 3 end # A bit of a hack until we can figure this out on Travis