FrankChen021 commented on code in PR #19923:
URL: https://github.com/apache/druid/pull/19923#discussion_r3739910837
##########
indexing-service/src/test/java/org/apache/druid/indexing/seekablestream/StreamChunkReaderTest.java:
##########
@@ -83,6 +76,12 @@ public class StreamChunkReaderTest
@Mock
private SettableByteEntityReader mockedByteEntityReader;
+ @BeforeEach
+ public void setup()
+ {
+ MockitoAnnotations.openMocks(this);
+ }
Review Comment:
Addressed in the existing local edit: the AutoCloseable returned by
openMocks is closed in @AfterEach, and the temp directory is deleted in a
finally block to preserve the old TemporaryFolder cleanup semantics.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]