Bug #7523

test_modify_expand_memory_leak(Test_StringModifyExpand) fails

Added by Heesob Park about 2 years ago. Updated about 2 years ago.

[ruby-core:50599]
Status:Closed
Priority:Normal
Assignee:Koichi Sasada
ruby -v:ruby 2.0.0dev (2012-12-06 trunk 38223) [x64-mingw32] Backport:

Description

I can see following failure with x64-mingw32 on Windows 7.

50) Failure:
test_modify_expand_memory_leak(Test_StringModifyExpand) [c:/work/snapshot-mg64/test/-ext-/string/test_modify_expand.rb:7]:rb_str_modify_expand().
<[true, ""]> expected but was
<[false, "c:/work/snapshot-mg64/test/ruby/memory_status.rb:25:in rescue in <module:Memory>': undefined methodsuppress_warning' for Memory:Module (NoMethodError)\n\tfrom c:/work/snapshot-mg64/test/ruby/memory_status.rb:20:in <module:Memory>'\n\tfrom c:/work/snapshot-mg64/test/ruby/memory_status.rb:3:in'\n\tfrom -:1:in `require'\n"]>.

Associated revisions

Revision 38233
Added by Nobuyoshi Nakada about 2 years ago

memory_status.rb: EnvUtil

  • test/ruby/memory_status.rb (Memory): suppress_warning is in EnvUtil. [Bug #7523]

Revision 38233
Added by Nobuyoshi Nakada about 2 years ago

memory_status.rb: EnvUtil

  • test/ruby/memory_status.rb (Memory): suppress_warning is in EnvUtil. [Bug #7523]

History

#1 Updated by Luis Lavena about 2 years ago

  • Category set to test
  • Status changed from Open to Assigned
  • Assignee set to Koichi Sasada
  • Target version set to 2.0.0

#2 Updated by Nobuyoshi Nakada about 2 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r38233.
Heesob, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


memory_status.rb: EnvUtil

  • test/ruby/memory_status.rb (Memory): suppress_warning is in EnvUtil. [Bug #7523]

Also available in: Atom PDF