Skip to content

Commit db27403

Browse files
fixup! feat: fix compatibility with Puma 7
1 parent 727d33b commit db27403

File tree

1 file changed

+1
-1
lines changed
  • instrumentation/puma/test/opentelemetry/instrumentation/puma

1 file changed

+1
-1
lines changed

instrumentation/puma/test/opentelemetry/instrumentation/puma/plugin_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
end
2525

2626
it 'flushes providers on stop' do
27-
event_name = ::Puma::Const::PUMA_VERSION < '7' ? :on_booted : :after_booted
27+
event_name = Puma::Const::PUMA_VERSION < '7' ? :on_booted : :after_booted
2828
@launcher.events.public_send(event_name) do
2929
sleep 1.1 unless mri?
3030
@launcher.stop

0 commit comments

Comments
 (0)