Skip to content

Commit

Permalink
test: silence rubocop about loop that gets aborted from another thread
Browse files Browse the repository at this point in the history
  • Loading branch information
cben committed Mar 23, 2022
1 parent d6d1ee8 commit 55709fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_real_cluster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ def exercise_watcher_with_timeout(watcher)
sleep(1)
watcher.finish
end
watcher.each do |_notice|
watcher.each do |_notice| # rubocop:disable Lint/UnreachableLoop
break
end
thread.join
Expand Down

0 comments on commit 55709fa

Please sign in to comment.