Skip to content

Commit

Permalink
Attempt to fix spark-operator test flakiness.
Browse files Browse the repository at this point in the history
* Don't try to apply the spark-operator until after calling kfctl apply k8s
  because the ksonnet environment gets created during the step.

Fix kubeflow#2693
  • Loading branch information
jlewi committed Mar 14, 2019
1 parent 2f9c6f5 commit 287b6cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion testing/workflows/components/kfctl_test.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,9 @@ local dagTemplates = [
],
working_dir=appDir + "/ks_app"
),
dependencies: ["install-spark-operator"],
// Need to wait on kfctl-apply-k8s because that step creates
// the ksonnet environment.
dependencies: ["install-spark-operator", "kfctl-apply-k8s"],
}, // generate-spark-operator
{
template: buildTemplate(
Expand Down

0 comments on commit 287b6cb

Please sign in to comment.