From 287b6cb5dea8a6669c7b01fe090fa192686dd883 Mon Sep 17 00:00:00 2001 From: Jeremy Lewi Date: Wed, 13 Mar 2019 19:34:33 -0700 Subject: [PATCH] Attempt to fix spark-operator test flakiness. * Don't try to apply the spark-operator until after calling kfctl apply k8s because the ksonnet environment gets created during the step. Fix #2693 --- testing/workflows/components/kfctl_test.jsonnet | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/workflows/components/kfctl_test.jsonnet b/testing/workflows/components/kfctl_test.jsonnet index 48ad53869bb..0db237867f0 100644 --- a/testing/workflows/components/kfctl_test.jsonnet +++ b/testing/workflows/components/kfctl_test.jsonnet @@ -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(