Skip to content

Commit

Permalink
Ignore Signal tests unsupported on JRuby
Browse files Browse the repository at this point in the history
  • Loading branch information
olleolleolle committed Mar 22, 2019
1 parent 9152e73 commit 70aaa6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/hutch/waiter_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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...')
Expand All @@ -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...')
Expand Down

0 comments on commit 70aaa6f

Please sign in to comment.