diff options
Diffstat (limited to 'test/ruby/test_string_memory.rb')
-rw-r--r-- | test/ruby/test_string_memory.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/ruby/test_string_memory.rb b/test/ruby/test_string_memory.rb index 249aa3a269..e264dd5705 100644 --- a/test/ruby/test_string_memory.rb +++ b/test/ruby/test_string_memory.rb @@ -25,6 +25,10 @@ class TestStringMemory < Test::Unit::TestCase instance.class, instance, ] + end.select do |path,| + # drop strings not created in this file + # (the parallel testing framework may create strings in a separate thread) + path == __FILE__ end ensure GC.enable |