summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Wrobel <tomasz.wrobel@nokia.com>2021-07-22 09:10:51 +0200
committerMichael Morris <michael.morris@est.tech>2021-07-28 09:48:35 +0000
commit938548c5c6c1935f426b6f9e671d969e15371389 (patch)
treee33d9a043f7667f9172660afab2df7f2932e1e41
parentb65fcbf6928b13600e7764b9f37ba039cb64b6c9 (diff)
Fix helm-validator integration tests.
- Skip helm-validator tests when helm validator is disabled, - Align expected validation message. Issue-ID: SDC-3646 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: Ia6d415e44545748e23b6130de1ad1d6946730265
-rw-r--r--integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect2
-rw-r--r--integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml3
2 files changed, 3 insertions, 2 deletions
diff --git a/integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect b/integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect
index 8923fa7865..093d0ef179 100644
--- a/integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect
+++ b/integration-tests/src/test/resources/Files/CNFs/helm-package-valid_expect
@@ -1 +1 @@
-"third.tgz":[{"level":"WARNING","message":"WARNING: [HELM VALIDATOR]: [WARNING] templates/: directory not found"}]
+"status":"Success"
diff --git a/integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml b/integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml
index 8ce016d09f..c81bbdcff8 100644
--- a/integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml
+++ b/integration-tests/src/test/resources/ci/testSuites/backend/onapApiSanity.xml
@@ -7,7 +7,8 @@
<classes>
<class name="org.onap.sdc.backend.ci.tests.sanity.Onboard">
<methods>
- <exclude name="onboardCNFWithHelmValidatorTest"/>
+ <exclude name="onboardCNFWithHelmValidatorFlow"/>
+ <exclude name="onboardCNFWithHelmValidatorFlowWithWarning"/>
<exclude name="onboardCNFWithHelmValidatorShouldFailTest"/>
</methods>
</class>