Skip to content

Commit 5c20fe2

Browse files
committed
test: silence rubocop about loop that gets aborted from another thread
1 parent 5957163 commit 5c20fe2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_real_cluster.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def exercise_watcher_with_timeout(watcher)
154154
sleep(1)
155155
watcher.finish
156156
end
157-
watcher.each do |_notice|
157+
watcher.each do |_notice| # rubocop:disable Lint/UnreachableLoop
158158
break
159159
end
160160
thread.join

0 commit comments

Comments
 (0)