Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-47181][CORE][TESTS] Fix
MasterSuite
to validate the number o…
…f registered workers ### What changes were proposed in this pull request? This PR aims to fix `MasterSuite` to validate the number of registered workers during `SPARK-46881: scheduling with workerSelectionPolicy *` tests. ### Why are the changes needed? To fix a flakiness. - https://github.com/apache/spark/actions/runs/8042308713/job/21962794853#step:10:17224 ``` [info] - SPARK-46881: scheduling with workerSelectionPolicy - CORES_FREE_DESC (false) *** FAILED *** (178 milliseconds) [info] List("10004") did not equal List("10005") (MasterSuite.scala:728) [info] Analysis: [info] List(0: "10004" -> "10005") ``` ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Pass the CIs. ### Was this patch authored or co-authored using generative AI tooling? No. Closes apache#45274 from dongjoon-hyun/SPARK-47181. Authored-by: Dongjoon Hyun <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
- Loading branch information