You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "codope (via GitHub)" <gi...@apache.org> on 2023/06/27 16:14:53 UTC
[GitHub] [hudi] codope commented on a diff in pull request #9062: [HUDI-6445] Fix flaky TestIncrementalReadWithFullTableScan
codope commented on code in PR #9062:
URL: https://github.com/apache/hudi/pull/9062#discussion_r1244013346
##########
hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestIncrementalReadWithFullTableScan.scala:
##########
@@ -69,14 +55,22 @@ class TestIncrementalReadWithFullTableScan extends HoodieSparkClientTestBase {
}
@AfterEach override def tearDown() = {
- cleanupSparkContexts()
- cleanupTestDataGenerator()
- cleanupFileSystem()
+ spark = null
Review Comment:
`spark` is a class variable that gets initialized before every test starts, should be fine to null out before cleaning up resources.
--
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: commits-unsubscribe@hudi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org