Skip to content

Commit

Permalink
test: reduce flakyness in transcoder spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bajankristof committed Nov 28, 2024
1 parent 8587731 commit 80b78aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/ffmpeg/transcoder_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ module FFMPEG
expect(status.media.first.video?).to be(true)
expect(status.media.first.height).to eq(360)
expect(status.media.first.streams.length).to eq(2)
expect(status.media.first.audio_bit_rate).to be_within(10_000).of(96_000)
expect(status.media.first.audio_bit_rate).to be_within(15_000).of(96_000)
expect(status.media.last.audio?).to be(true)
expect(status.media.last.streams.length).to eq(1)
expect(status.media.last.audio_bit_rate).to be_within(10_000).of(96_000)
expect(status.media.last.audio_bit_rate).to be_within(15_000).of(96_000)

expect(reports.length).to be >= 1
expect(reports).to all(be_a(Reporters::Output))
Expand Down

0 comments on commit 80b78aa

Please sign in to comment.