Skip to content

Commit

Permalink
Merge pull request #4275 from DataDog/ivoanjo/disable-flaky-barrier-spec
Browse files Browse the repository at this point in the history
[NO-TICKET] Disable flaky barrier spec
  • Loading branch information
ivoanjo authored Jan 10, 2025
2 parents 08041d2 + f66f48a commit 988a195
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions spec/datadog/core/remote/component_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,26 @@

context 'with waiters' do
it 'unblocks waiters' do
skip('Known flaky (assertion below sometimes fails with timeout)')

waiter_thread = Thread.new(record) do |record|
record << :one
# Failures:
#
# 1) Datadog::Core::Remote::Component::Barrier#lift with waiters unblocks waiters
# Failure/Error: expect(barrier.wait_once).to eq :lift
#
# expected: :lift
# got: :timeout
#
# (compared using ==)
#
# Diff:
# @@ -1 +1 @@
# -:lift
# +:timeout
# # ./spec/datadog/core/remote/component_spec.rb:263:in `block (5 levels) in <top (required)>'
# # ./spec/spec_helper.rb:254:in `block in initialize'
expect(barrier.wait_once).to eq :lift
record << :two
end.run
Expand Down

0 comments on commit 988a195

Please sign in to comment.