Skip to content
Snippets Groups Projects
Commit aa16948f authored by Krzysztof Witukiewicz's avatar Krzysztof Witukiewicz
Browse files

Merge branch 'OZG-7262-fix-deadlock' into 'main'

OZG-7262 OZG-7657 Fix possible deadlock

See merge request !7
parents f7fe32ba 2ffe2467
No related branches found
No related tags found
1 merge request!7OZG-7262 OZG-7657 Fix possible deadlock
...@@ -107,7 +107,6 @@ public class GrpcBinaryFileServerDownloader<T> { ...@@ -107,7 +107,6 @@ public class GrpcBinaryFileServerDownloader<T> {
void startDownload() { void startDownload() {
try { try {
doDownload(); doDownload();
sendChunks();
} catch (Exception e) { } catch (Exception e) {
downloadError.set(new TechnicalException("Error while downloading file contents", e)); downloadError.set(new TechnicalException("Error while downloading file contents", e));
} finally { } finally {
......
...@@ -254,13 +254,6 @@ class GrpcBinaryFileServerDownloaderTest { ...@@ -254,13 +254,6 @@ class GrpcBinaryFileServerDownloaderTest {
verify(outputStream).close(); verify(outputStream).close();
} }
@Test
void shouldSendChunks() {
downloader.startDownload();
verify(downloader).sendChunks();
}
} }
@Nested @Nested
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment