aboutsummaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_thread.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_thread.rb')
-rw-r--r--bootstraptest/test_thread.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstraptest/test_thread.rb b/bootstraptest/test_thread.rb
index 319f9ca625..03fb441441 100644
--- a/bootstraptest/test_thread.rb
+++ b/bootstraptest/test_thread.rb
@@ -2,7 +2,7 @@ show_limit %q{
threads = []
begin
threads << Thread.new{sleep}
-
+
raise Exception, "skipping" if threads.count >= 10_000
rescue Exception => error
puts "Thread count: #{threads.count} (#{error})"
@@ -15,7 +15,7 @@ show_limit %q{
fiber = Fiber.new{Fiber.yield}
fiber.resume
fibers << fiber
-
+
raise Exception, "skipping" if fibers.count >= 10_000
rescue Exception => error
puts "Fiber count: #{fibers.count} (#{error})"