This is an automated email from the ASF dual-hosted git repository. ulyssesyou pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push: new ebfc5b55fc0 [SPARK-45244][TESTS] Correct spelling in VolcanoTestsSuite ebfc5b55fc0 is described below commit ebfc5b55fc096722547023d76a70796f39947959 Author: zwangsheng <binjiey...@apache.org> AuthorDate: Fri Sep 22 10:12:14 2023 +0800 [SPARK-45244][TESTS] Correct spelling in VolcanoTestsSuite ### What changes were proposed in this pull request? ### Why are the changes needed? Correct typo in VolcanoTestsSuite, which naming methods with `checkAnnotaion`. ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? Exited UT ### Was this patch authored or co-authored using generative AI tooling? No Closes #43026 from zwangsheng/SPARK-45244. Authored-by: zwangsheng <binjiey...@apache.org> Signed-off-by: Xiduo You <ulysses...@apache.org> --- .../spark/deploy/k8s/integrationtest/VolcanoTestsSuite.scala | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/VolcanoTestsSuite.scala b/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/VolcanoTestsSuite.scala index 06d6f7dc100..35da48f61b3 100644 --- a/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/VolcanoTestsSuite.scala +++ b/resource-managers/kubernetes/integration-tests/src/test/scala/org/apache/spark/deploy/k8s/integrationtest/VolcanoTestsSuite.scala @@ -123,7 +123,7 @@ private[spark] trait VolcanoTestsSuite extends BeforeAndAfterEach { k8sSuite: Ku assert(pod.getSpec.getSchedulerName === "volcano") } - protected def checkAnnotaion(pod: Pod): Unit = { + protected def checkAnnotation(pod: Pod): Unit = { val appId = pod.getMetadata.getLabels.get("spark-app-selector") val annotations = pod.getMetadata.getAnnotations assert(annotations.get("scheduling.k8s.io/group-name") === s"$appId-podgroup") @@ -218,7 +218,7 @@ private[spark] trait VolcanoTestsSuite extends BeforeAndAfterEach { k8sSuite: Ku runSparkDriverSubmissionAndVerifyCompletion( driverPodChecker = (driverPod: Pod) => { checkScheduler(driverPod) - checkAnnotaion(driverPod) + checkAnnotation(driverPod) checkPodGroup(driverPod, queue) }, customSparkConf = Option(conf), @@ -228,12 +228,12 @@ private[spark] trait VolcanoTestsSuite extends BeforeAndAfterEach { k8sSuite: Ku runSparkPiAndVerifyCompletion( driverPodChecker = (driverPod: Pod) => { checkScheduler(driverPod) - checkAnnotaion(driverPod) + checkAnnotation(driverPod) checkPodGroup(driverPod, queue) }, executorPodChecker = (executorPod: Pod) => { checkScheduler(executorPod) - checkAnnotaion(executorPod) + checkAnnotation(executorPod) }, customSparkConf = Option(conf), customAppLocator = Option(appLoc) @@ -314,13 +314,13 @@ private[spark] trait VolcanoTestsSuite extends BeforeAndAfterEach { k8sSuite: Ku driverPodChecker = (driverPod: Pod) => { doBasicDriverPodCheck(driverPod) checkScheduler(driverPod) - checkAnnotaion(driverPod) + checkAnnotation(driverPod) checkPodGroup(driverPod) }, executorPodChecker = (executorPod: Pod) => { doBasicExecutorPodCheck(executorPod) checkScheduler(executorPod) - checkAnnotaion(executorPod) + checkAnnotation(executorPod) } ) } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org For additional commands, e-mail: commits-h...@spark.apache.org