clojure/data.xml — comment on commit e08334d18c0aa41d4581cf3ca628af9e189721ac
File: src/test/clojure/clojure/data/xml/test_parse.clj line 41
By amalloy:

This test is not correct, and is failing on the build server under "Configuration 1.3.0,OpenJDK 1.6". It's never correct to assert that something has been garbage collected, because garbage collection is never guaranteed to be performed. The JVM claims to make a best effort, but especially in a scenario like this where there is tons of memory still available it's free to refrain from collection. I'd like to remove this test unless @Chouser has a strong objection. Ideally some similar test could be added back in, but I don't know any way to introspect reachability of objects on the JVM.