From 72b0c2e16dfdbff1844d2b37279f80905e14b2e2 Mon Sep 17 00:00:00 2001 From: bajankristof Date: Thu, 2 May 2024 12:02:57 +0200 Subject: [PATCH] test: fix flaky Media.concat spec --- spec/ffmpeg/media_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/ffmpeg/media_spec.rb b/spec/ffmpeg/media_spec.rb index 3543a44..fb85858 100644 --- a/spec/ffmpeg/media_spec.rb +++ b/spec/ffmpeg/media_spec.rb @@ -379,7 +379,7 @@ module FFMPEG result = described_class.concat(output_path, segment1, segment2) expect(result).to be_a(Media) expect(result.path).to eq(output_path) - expect(result.duration).to be_within(0.2).of(5.5) + expect(result.duration).to be_within(0.2).of(5.7) end end end