Merge pull request #3255 from mbenson/open-files

* gh-3255:
  Ignore failures when closing war files in tests
pull/3885/head
Phillip Webb 10 years ago
commit 2b13736ae8

@ -99,6 +99,13 @@ public class WarPackagingTests {
checkWebInfLibProvidedEntries(war, expectedLibProvidedEntries); checkWebInfLibProvidedEntries(war, expectedLibProvidedEntries);
checkWebInfLibEntries(war, expectedLibProvidedEntries); checkWebInfLibEntries(war, expectedLibProvidedEntries);
try {
war.close();
}
catch (IOException ex) {
// Ignore
}
} }
private void checkWebInfLibProvidedEntries(JarFile war, Set<String> expectedEntries) private void checkWebInfLibProvidedEntries(JarFile war, Set<String> expectedEntries)

Loading…
Cancel
Save