summaryrefslogtreecommitdiffstats
path: root/bootstraptest/test_method.rb
diff options
context:
space:
mode:
Diffstat (limited to 'bootstraptest/test_method.rb')
-rw-r--r--bootstraptest/test_method.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/bootstraptest/test_method.rb b/bootstraptest/test_method.rb
index 28cd2fbaf..5bc0f8cce 100644
--- a/bootstraptest/test_method.rb
+++ b/bootstraptest/test_method.rb
@@ -997,12 +997,13 @@ assert_equal 'ok', %q{
assert_normal_exit %q{
begin
- Process.setrlimit(Process::RLIMIT_STACK, 1024*1024)
+ Process.setrlimit(Process::RLIMIT_STACK, 4_202_496)
+ # FreeBSD fails this less than 4M + 8K bytes.
rescue Exception
exit
end
class C
- attr "a" * (2*1024*1024)
+ attr "a" * (10*1024*1024)
end
}, '[ruby-dev:31818]'