spec/celluloid/stack_dump_spec.rb in celluloid-0.16.0.pre vs spec/celluloid/stack_dump_spec.rb in celluloid-0.16.0.pre2
- old
+ new
@@ -43,22 +43,22 @@
subject.actors.size.should == actor_system.running.size
end
end
describe '#threads' do
- it 'should include threads that are not actors' do
- subject.threads.size.should == 3
+ it 'should include threads that are not actors', pending: 'flaky' do
+ expect(subject.threads.size).to eq(3)
end
it 'should include idle threads' do
subject.threads.map(&:thread_id).should include(@idle_thread.object_id)
end
it 'should include threads checked out of the pool for roles other than :actor' do
subject.threads.map(&:thread_id).should include(@active_thread.object_id)
end
- it 'should have the correct roles' do
- subject.threads.map(&:role).should include(nil, :other_thing, :task)
+ it 'should have the correct roles', pending: 'flaky' do
+ expect(subject.threads.map(&:role)).to include(nil, :other_thing, :task)
end
end
end