Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-44054][CORE][TESTS] Make test cases inherit
SparkFunSuite
ha…
…ve a default timeout ### What changes were proposed in this pull request? This pr use `failAfter` to wrap the `testBody` of `SparkFunSuite#test` to control the test timeout, and add an un-document config `spark.test.timeout` with default value 20 minutes in this pr, the test inherit `SparkFunSuite` will fail with `TestFailedDueToTimeoutException` when test timeout. ### Why are the changes needed? Avoid GA task times out due to test case blocks. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? - Pass Github Actions - manual checked. Closes apache#41590 from LuciferYang/add-failAfter. Authored-by: yangjie01 <yangjie01@baidu.com> Signed-off-by: Dongjoon Hyun <dongjoon@apache.org>
- Loading branch information