Skip to content

Commit 942e67f

Browse files
committed
Returned several Actress specs that were previously pending.
1 parent 8ae5b72 commit 942e67f

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

spec/concurrent/actress_spec.rb

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def on_message(message)
9393
end
9494

9595
describe 'spawning' do
96-
describe 'Actress#spawn', :brittle do
96+
describe 'Actress#spawn' do
9797
behaviour = -> v { -> _ { v } }
9898
subjects = { spawn: -> { Actress.spawn(AdHoc, :ping, 'arg', &behaviour) },
9999
context_spawn: -> { AdHoc.spawn(:ping, 'arg', &behaviour) },
@@ -102,17 +102,16 @@ def on_message(message)
102102

103103
subjects.each do |desc, subject_definition|
104104
describe desc do
105-
pending('intermittent JRuby deadlock');
106-
#subject &subject_definition
107-
#after { terminate_actors subject }
108-
#its(:path) { should eq '/ping' }
109-
#its(:parent) { should eq ROOT }
110-
#its(:name) { should eq 'ping' }
111-
#it('executor should be global') { subject.executor.should eq Concurrent.configuration.global_task_pool }
112-
#its(:reference) { should eq subject }
113-
#it 'returns arg' do
114-
#subject.ask!(:anything).should eq 'arg'
115-
#end
105+
subject &subject_definition
106+
after { terminate_actors subject }
107+
its(:path) { should eq '/ping' }
108+
its(:parent) { pending('intermittent JRuby deadlock'); should eq ROOT }
109+
its(:name) { should eq 'ping' }
110+
it('executor should be global') { subject.executor.should eq Concurrent.configuration.global_task_pool }
111+
its(:reference) { should eq subject }
112+
it 'returns arg' do
113+
subject.ask!(:anything).should eq 'arg'
114+
end
116115
end
117116
end
118117
end

0 commit comments

Comments
 (0)