Merge pull request #3255 from mbenson/open-files
* gh-3255: Ignore failures when closing war files in tests
This commit is contained in:
@@ -99,6 +99,13 @@ public class WarPackagingTests {
|
||||
checkWebInfLibProvidedEntries(war, expectedLibProvidedEntries);
|
||||
|
||||
checkWebInfLibEntries(war, expectedLibProvidedEntries);
|
||||
|
||||
try {
|
||||
war.close();
|
||||
}
|
||||
catch (IOException ex) {
|
||||
// Ignore
|
||||
}
|
||||
}
|
||||
|
||||
private void checkWebInfLibProvidedEntries(JarFile war, Set<String> expectedEntries)
|
||||
|
||||
Reference in New Issue
Block a user