lib/test_queue/iterator.rb in test-queue-0.2.5 vs lib/test_queue/iterator.rb in test-queue-0.2.6
- old
+ new
@@ -25,10 +25,10 @@
break if !e.empty?
if data = client.read(65536)
client.close
item = Marshal.load(data)
- break if item.nil?
+ break if item.nil? || item.empty?
suite = @suites[item]
$0 = "#{@procline} - #{suite.respond_to?(:description) ? suite.description : suite}"
start = Time.now
if @filter