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 <[email protected]>
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 <[email protected]>
Signed-off-by: Xiduo You <[email protected]>
---
.../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: [email protected]
For additional commands, e-mail: [email protected]