Increase the chance of having a finalizer called.

This commit is contained in:
Akinori MUSHA 2013-04-16 01:52:59 +09:00
parent 8ae076d9ea
commit b8170fb7e2

View file

@ -807,8 +807,10 @@ module TestHTTPCookieJar
db = jar.store.instance_variable_get(:@db)
break
}
GC.start
assert_send [db, :closed?]
at_exit {
GC.start
assert_send [db, :closed?]
}
end
def test_upgrade_mozillastore