From 70aaa6f0d85d51e281da3e5323c9f3b2b12b2a1f Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Fri, 22 Mar 2019 23:26:05 +0100 Subject: [PATCH] Ignore Signal tests unsupported on JRuby --- spec/hutch/waiter_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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...')