We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64bda27 commit 969e21dCopy full SHA for 969e21d
1 file changed
test/async/task.rb
@@ -717,13 +717,11 @@ def sleep_forever
717
it "will propagate exceptions after async operation" do
718
error_task = innocent_task = nil
719
720
- error_task = reactor.async do |task|
721
- task.yield
722
-
+ error_task = reactor.async(finished: false) do |task|
723
raise "boom"
724
end
725
726
- innocent_task = reactor.async do |task|
+ innocent_task = reactor.async(finished: false) do |task|
727
error_task.wait
728
729
0 commit comments