Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-28115][CORE][TEST] Fix flaky test: SparkContextSuite.test reso…
…urce scheduling under local-cluster mode ## What changes were proposed in this pull request? The test `SparkContextSuite.test resource scheduling under local-cluster mode` has been flaky, because it expects the size of `sc.statusTracker.getExecutorInfos` be the same as the number of executors, while the returned list contains both the driver and executors. ## How was this patch tested? Updated existing tests. Closes #24917 from jiangxb1987/getExecutorInfos. Authored-by: Xingbo Jiang <xingbo.jiang@databricks.com> Signed-off-by: Xiangrui Meng <meng@databricks.com>
- Loading branch information
1 parent
25c5d57
commit d98a5ce
Showing
2 changed files
with
4 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters