llama90 commented on code in PR #42038:
URL: https://github.com/apache/arrow/pull/42038#discussion_r1637546739
##########
java/adapter/avro/src/test/java/org/apache/arrow/adapter/avro/AvroTestBase.java:
##########
@@ -58,6 +59,11 @@ public void init() {
config = new AvroToArrowConfigBuilder(allocator).build();
}
+ @AfterEach
+ public void tearDown() {
+ System.gc();
Review Comment:
Actually, we can't know for sure what effect it will have.
Referring to the issue you shared, the problem on Windows + JDK 11 still
seems to be open and unresolved. I saw a temporary workaround in the comments,
so I tested it.
- https://github.com/junit-team/junit5/issues/2811#issuecomment-2084917705
At the moment, this seems to be the worst approach and the last resort.
--
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]