From dc13e8ecfd69711f605a6256540ba98a5eb7cda2 Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Wed, 21 Dec 2022 02:33:52 +0100 Subject: [PATCH] DEV: Fix TurboTests::Runner fail_fast condition (#19540) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It fast-failed after the first failure regardless of the param… --- lib/turbo_tests/runner.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/turbo_tests/runner.rb b/lib/turbo_tests/runner.rb index 1bf1b6e3d96..76137a70265 100644 --- a/lib/turbo_tests/runner.rb +++ b/lib/turbo_tests/runner.rb @@ -262,7 +262,7 @@ module TurboTests end def fail_fast_met - !@fail_fast.nil? && @fail_fast >= @failure_count + !@fail_fast.nil? && @failure_count >= @fail_fast end end end