apache-spark-on-k8s / spark

Apache Spark enhanced with native Kubernetes scheduler back-end: NOTE this repository is being ARCHIVED as all new development for the kubernetes scheduler back-end is now on https://github.com/apache/spark/
https://spark.apache.org/
Apache License 2.0
612 stars 118 forks source link

Unit tests for KubernetesClusterSchedulerBackend #275

Open foxish opened 7 years ago

foxish commented 7 years ago

Might need some refactoring to make this possible https://mvnrepository.com/artifact/io.fabric8/kubernetes-server-mock is a good starting point for the mock-server.

mccheah commented 7 years ago

I'm starting to work on these, beginning with refactors in https://github.com/apache-spark-on-k8s/spark/pull/452 and https://github.com/apache-spark-on-k8s/spark/pull/454, and then writing all of the tests in a new PR. This is a blocker for us merging the work into upstream.