diff --git a/spec/hutch/waiter_spec.rb b/spec/hutch/waiter_spec.rb index 701e8b48..91a9f093 100644 --- a/spec/hutch/waiter_spec.rb +++ b/spec/hutch/waiter_spec.rb @@ -22,7 +22,7 @@ def start_kill_thread(signal) end end - context 'a TERM signal is received' do + context 'a TERM signal is received', if: !defined?(JRUBY_VERSION) do it 'logs that hutch is stopping' do expect(Hutch::Logging.logger).to receive(:info) .with('caught SIGTERM, stopping hutch...') @@ -32,7 +32,7 @@ def start_kill_thread(signal) end end - context 'a INT signal is received' do + context 'a INT signal is received', if: !defined?(JRUBY_VERSION) do it 'logs that hutch is stopping' do expect(Hutch::Logging.logger).to receive(:info) .with('caught SIGINT, stopping hutch...')