Sha256: ce15f06da0182ab040fac0c45ae262b575f2ae95dcefc9b49c756bc8c8522067
Contents?: true
Size: 428 Bytes
Versions: 6
Compression:
Stored size: 428 Bytes
Contents
# set logger early on require "celluloid/internals/logger" if Celluloid.group_class == Celluloid::Group::Spawner RSpec.describe Celluloid::Group::Spawner do it_behaves_like "a Celluloid Group" it "does not leak finished threads" do queue = Queue.new th = subject.get { queue.pop } expect do queue << nil th.join end.to change { subject.group.length }.by(-1) end end end
Version data entries
6 entries across 6 versions & 1 rubygems