diff --git a/test/e2e/main_test.go b/test/e2e/main_test.go index 781065f69..7c0e66df2 100644 --- a/test/e2e/main_test.go +++ b/test/e2e/main_test.go @@ -118,9 +118,12 @@ func TestMain(m *testing.M) { var err error // Get properties + props := provisioner.GetProperties(ctx, cfg) - if props["KBS_IMAGE"] == "" || props["KBS_IMAGE_TAG"] == "" { - return ctx, fmt.Errorf("kbs image not provided") + if shouldDeployKbs { + if props["KBS_IMAGE"] == "" || props["KBS_IMAGE_TAG"] == "" { + return ctx, fmt.Errorf("kbs image not provided") + } } if shouldProvisionCluster { diff --git a/test/provisioner/azure/provision_azure.properties b/test/provisioner/azure/provision_azure.properties index f3b64213a..b83134df2 100644 --- a/test/provisioner/azure/provision_azure.properties +++ b/test/provisioner/azure/provision_azure.properties @@ -17,4 +17,3 @@ IS_SELF_MANAGED_CLUSTER="false" # KBS configs KBS_IMAGE="${KBS_IMAGE}" KBS_IMAGE_TAG="${KBS_IMAGE_TAG}" -DEPLOY_KBS="true"