Don't check parents in ClassLoaderCacheTest

This check doesn't actually make sense anymore with the new
ClassLoaderCache. In the old ClassLoaderCache, there were separate
layers for the snapshots and regular jars.  The test was verifying that
only the snapshot layer was invalidated but now there is just one layer.
This commit is contained in:
Ethan Atkins 2019-05-28 11:52:07 -07:00
parent 8765710a88
commit dc903bb4d8
1 changed files with 0 additions and 1 deletions

View File

@ -48,7 +48,6 @@ class ClassLoaderCacheTest extends FlatSpec with Matchers {
IO.setModifiedTimeOrFalse(snapshotJar, System.currentTimeMillis + 5000L)
val secondLoader = cache.get(jarClassPath)
assert(initLoader != secondLoader)
assert(initLoader.getParent == secondLoader.getParent)
assert(cache.get(jarClassPath) == secondLoader)
assert(cache.get(jarClassPath) != initLoader)
}