aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--KNOWNBUGS.rb11
1 files changed, 7 insertions, 4 deletions
diff --git a/KNOWNBUGS.rb b/KNOWNBUGS.rb
index 989b86e8cb..2e4f058661 100644
--- a/KNOWNBUGS.rb
+++ b/KNOWNBUGS.rb
@@ -4,10 +4,13 @@
#
assert_normal_exit %q{
- loop do
- def x
- "hello" * 1000
+ require 'timeout'
+ timeout(2) do
+ loop do
+ def x
+ "hello" * 1000
+ end
+ method(:x).call
end
- method(:x).call
end
}, '[ruby-core:53640] [Bug #8100]'