Skip to content

Commit

Permalink
add flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
anmarchenko committed Aug 9, 2024
1 parent 55256ce commit 020ca88
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/actors_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ def perform(slp)
end

describe "scheduler" do
it "flakes" do
res = rand(3)
p "Executing flaky test with result #{res}"
assert_equal res, 1
end

it "can start and stop" do
f = Sidekiq::Scheduled::Poller.new(@config)
f.start
Expand Down

0 comments on commit 020ca88

Please sign in to comment.