Skip to content

Commit eae24ea

Browse files
committed
Fix timeout value and description name
1 parent 6698d68 commit eae24ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/concurrent/edge/erlang_actor_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -502,15 +502,15 @@
502502
-> do
503503
b = spawn(link: true) { raise 'err' }
504504
trap
505-
[receive(timeout: 0.01), b]
505+
[receive(timeout: 1), b]
506506
end,
507507
on_pool:
508508
-> do
509509
b = spawn(link: true) { raise 'err' }
510510
trap
511511
receive(on(ANY) { |v| [v, b] },
512512
on(TIMEOUT) { |v| [nil, b] },
513-
timeout: 0.01)
513+
timeout: 1)
514514
end }
515515

516516
a = Concurrent::ErlangActor.spawn(type, &body.fetch(type))
@@ -961,7 +961,7 @@
961961
end
962962
end
963963

964-
describe 'event based' do
964+
describe 'on pool' do
965965
let(:type) { :on_pool }
966966
it_behaves_like 'erlang actor'
967967

0 commit comments

Comments
 (0)