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 6698d68 commit eae24eaCopy full SHA for eae24ea
spec/concurrent/edge/erlang_actor_spec.rb
@@ -502,15 +502,15 @@
502
-> do
503
b = spawn(link: true) { raise 'err' }
504
trap
505
- [receive(timeout: 0.01), b]
+ [receive(timeout: 1), b]
506
end,
507
on_pool:
508
509
510
511
receive(on(ANY) { |v| [v, b] },
512
on(TIMEOUT) { |v| [nil, b] },
513
- timeout: 0.01)
+ timeout: 1)
514
end }
515
516
a = Concurrent::ErlangActor.spawn(type, &body.fetch(type))
@@ -961,7 +961,7 @@
961
end
962
963
964
- describe 'event based' do
+ describe 'on pool' do
965
let(:type) { :on_pool }
966
it_behaves_like 'erlang actor'
967
0 commit comments