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) db = jar.store.instance_variable_get(:@db)
break break
} }
at_exit {
GC.start GC.start
assert_send [db, :closed?] assert_send [db, :closed?]
}
end end
def test_upgrade_mozillastore def test_upgrade_mozillastore