More unit test stability

This commit is contained in:
Matthias Koefferlein
2021-02-27 21:31:32 +01:00
parent be5714607f
commit 77356cd877
2 changed files with 4 additions and 4 deletions
+2 -4
View File
@@ -1460,10 +1460,8 @@ class Basic_TestClass < TestBase
assert_equal(RBA::A.a20_get == nil, false)
# after "manage" the object gets volatile again
1.times do
a = RBA::A.a20_get
a._manage
end
a = RBA::A.a20_get
a._manage
# Looks like Ruby is keeping the last A instance in some kind of cache:
# this will release it