Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
foxish committed Sep 15, 2017
1 parent a9375c5 commit 6273b74
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ class ExecutorPodFactoryImplSuite extends SparkFunSuite with BeforeAndAfter {
val conf = baseConf.clone()
conf.set(KUBERNETES_SHUFFLE_LABELS, "label=value")
conf.set(KUBERNETES_SHUFFLE_NAMESPACE, "default")
conf.set(KUBERNETES_SHUFFLE_DIR, "/tmp")

val kubernetesExternalShuffleClient = new KubernetesExternalShuffleClientImpl(
SparkTransportConf.fromSparkConf(conf, "shuffle"),
Expand Down Expand Up @@ -185,7 +186,7 @@ class ExecutorPodFactoryImplSuite extends SparkFunSuite with BeforeAndAfter {
assert(executor.getSpec.getVolumes.get(0).getSecret.getSecretName == "secret1")

checkOwnerReferences(executor, driverPodUid)
checkEnv(executor, Set())
checkEnv(executor, Set("SPARK_MOUNTED_FILES_FROM_SECRET_DIR"))
}

test("classpath and extra java options get translated into environment variables") {
Expand Down

0 comments on commit 6273b74

Please sign in to comment.