From 513b20b1c40798fba39ad103a4c4f139dd4de4a2 Mon Sep 17 00:00:00 2001 From: Jiaxiao Zheng Date: Thu, 4 Feb 2021 17:50:54 +0800 Subject: [PATCH] test: Temporarily disable xgboost tests (#5093) --- test/component_test.yaml | 42 +++++++++++++++++++++------------------- test/sample_test.yaml | 4 +++- 2 files changed, 25 insertions(+), 21 deletions(-) diff --git a/test/component_test.yaml b/test/component_test.yaml index 2930457f2c1..b3c75469f94 100644 --- a/test/component_test.yaml +++ b/test/component_test.yaml @@ -52,26 +52,28 @@ spec: value: test/sample-test/Dockerfile - name: image-name value: "{{inputs.parameters.target-image-prefix}}{{inputs.parameters.sample-tests-image-suffix}}" - - - name: run-xgboost-tests - template: run-sample-tests - arguments: - parameters: - - name: test-results-gcs-dir - value: "{{inputs.parameters.test-results-gcs-dir}}" - - name: target-image-prefix - value: "{{inputs.parameters.target-image-prefix}}" - - name: gcp-image - value: "{{inputs.parameters.component-image-prefix}}ml-pipeline-gcp:{{inputs.parameters.commit-sha}}" - - name: local-confusionmatrix-image - value: "{{inputs.parameters.component-image-prefix}}ml-pipeline-local-confusion-matrix:{{inputs.parameters.commit-sha}}" - - name: local-roc-image - value: "{{inputs.parameters.component-image-prefix}}ml-pipeline-local-roc:{{inputs.parameters.commit-sha}}" - - name: sample-tests-image - value: "{{inputs.parameters.target-image-prefix}}{{inputs.parameters.sample-tests-image-suffix}}" - - name: namespace - value: "{{inputs.parameters.namespace}}" - - name: test-name - value: "xgboost_training_cm" + # TODO(#5089): Re-enable the xgboost sample test after fixed the + # component and sample. +# - - name: run-xgboost-tests +# template: run-sample-tests +# arguments: +# parameters: +# - name: test-results-gcs-dir +# value: "{{inputs.parameters.test-results-gcs-dir}}" +# - name: target-image-prefix +# value: "{{inputs.parameters.target-image-prefix}}" +# - name: gcp-image +# value: "{{inputs.parameters.component-image-prefix}}ml-pipeline-gcp:{{inputs.parameters.commit-sha}}" +# - name: local-confusionmatrix-image +# value: "{{inputs.parameters.component-image-prefix}}ml-pipeline-local-confusion-matrix:{{inputs.parameters.commit-sha}}" +# - name: local-roc-image +# value: "{{inputs.parameters.component-image-prefix}}ml-pipeline-local-roc:{{inputs.parameters.commit-sha}}" +# - name: sample-tests-image +# value: "{{inputs.parameters.target-image-prefix}}{{inputs.parameters.sample-tests-image-suffix}}" +# - name: namespace +# value: "{{inputs.parameters.namespace}}" +# - name: test-name +# value: "xgboost_training_cm" # Build and push image - name: build-image-by-dockerfile diff --git a/test/sample_test.yaml b/test/sample_test.yaml index 819d713da49..16d7d06957d 100644 --- a/test/sample_test.yaml +++ b/test/sample_test.yaml @@ -99,7 +99,9 @@ spec: - name: test-name value: "{{item}}" withItems: - - xgboost_training_cm + # TODO(#5089): Re-enable the xgboost sample test after fixed the + # component and sample. + # - xgboost_training_cm - dataflow - ai_platform # TODO(#4361): Re-enable the kubeflow_tf_serving sample test after