spec/async/io/trap_spec.rb in async-io-1.23.1 vs spec/async/io/trap_spec.rb in async-io-1.23.3
- old
+ new
@@ -21,15 +21,15 @@
require 'async/io/trap'
RSpec.describe Async::IO::Trap do
include_context Async::RSpec::Reactor
- subject {described_class.new(:USR1)}
+ subject {described_class.new(:USR2)}
it "can ignore signal" do
subject.ignore!
- Process.kill(:USR1, Process.pid)
+ Process.kill(:USR2, Process.pid)
end
it "should wait for signal" do
trapped = false