Sha256: 116f996e45fd9bc1f2e7adcceb3d9b38be5a3a48abf371811d8c61488b1f1a2a
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
require File.expand_path('../../tracing.rb',__FILE__) describe "Tracing" do it "should display backtraces every n seconds" do Tracer.doOutput=false Tracer.enable t=Thread.new { sleep 10 } sleep 2 Tracer.disable Tracer.output.length.should >0 t.kill! puts Tracer.output end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appswarm-0.0.1 | lib/appswarm/tools/spec/tracing_spec.rb |