Skip to content
Snippets Groups Projects
Commit 86d78f5c authored by OZGCloud's avatar OZGCloud
Browse files

reignore exception

parent 13e9cd42
Branches
Tags
No related merge requests found
......@@ -310,8 +310,11 @@ class VorgangRemoteServiceTest {
void shouldCloseFileContentStreamOnException(Class<Exception> exception) {
doThrow(exception).when(streamFuture).get(anyLong(), any(TimeUnit.class));
try {
vorgangCreator.waitUntilFutureToComplete(sender, inputStream);
} catch (Exception e) {
// ignored
}
verify(inputStream).close();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment