[前][次][番号順一覧][スレッド一覧]

ruby-changes:67002

From: Jeremy <ko1@a...>
Date: Fri, 30 Jul 2021 10:55:22 +0900 (JST)
Subject: [ruby-changes:67002] 2aecb95acb (master): Skip test_ensure_after_nomemoryerror

https://git.ruby-lang.org/ruby.git/commit/?id=2aecb95acb

From 2aecb95acb25ee076d160e2df6b61c3ea5b6d012 Mon Sep 17 00:00:00 2001
From: Jeremy Evans <code@j...>
Date: Thu, 29 Jul 2021 18:54:20 -0700
Subject: Skip test_ensure_after_nomemoryerror

This test appears to cause failures in some environments.
---
 test/ruby/test_exception.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/ruby/test_exception.rb b/test/ruby/test_exception.rb
index 4abbb4c..d1ff561 100644
--- a/test/ruby/test_exception.rb
+++ b/test/ruby/test_exception.rb
@@ -561,6 +561,7 @@ end.join https://github.com/ruby/ruby/blob/trunk/test/ruby/test_exception.rb#L561
   end
 
   def test_ensure_after_nomemoryerror
+    skip "Forcing NoMemoryError causes problems in some environments"
     assert_separately([], "$_ = 'a' * 1_000_000_000_000_000_000")
   rescue NoMemoryError
     assert_raise(NoMemoryError) do
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]