Skip to content

Commit

Permalink
Merge pull request #326 from olleolleolle/narrow-down-jruby-issue
Browse files Browse the repository at this point in the history
Ignore Signal tests unsupported on JRuby
  • Loading branch information
michaelklishin authored Mar 24, 2019
2 parents 9152e73 + 70aaa6f commit 10070ce
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 10070ce

Please sign in to comment.