Skip to content

Commit dacc7d8

Browse files
Fix test failure on ruby head.
1 parent 6302e8d commit dacc7d8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fixtures/async/container/supervisor/a_monitor.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ module Supervisor
2828
expect(event).to have_attributes(
2929
type: be == :remove,
3030
)
31+
ensure
32+
connection&.close
3133
end
3234

3335
it "can respond to status calls" do
@@ -38,6 +40,8 @@ module Supervisor
3840

3941
# Maybe we could be a bit more specific.
4042
expect(response).to be_a(Array)
43+
ensure
44+
connection&.close
4145
end
4246
end
4347
end

0 commit comments

Comments
 (0)