aboutsummaryrefslogtreecommitdiffstats
path: root/asdc-tests
diff options
context:
space:
mode:
Diffstat (limited to 'asdc-tests')
-rw-r--r--asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/execute/imports/CsarUtilsTest.java3
-rw-r--r--asdc-tests/src/main/resources/ci/testSuites/sanity.xml1
2 files changed, 4 insertions, 0 deletions
diff --git a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/execute/imports/CsarUtilsTest.java b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/execute/imports/CsarUtilsTest.java
index e99ecc7303..16d3fcb092 100644
--- a/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/execute/imports/CsarUtilsTest.java
+++ b/asdc-tests/src/main/java/org/openecomp/sdc/ci/tests/execute/imports/CsarUtilsTest.java
@@ -234,7 +234,10 @@ public class CsarUtilsTest extends ComponentBaseTest {
while ((len = zip.read(buffer)) > 0) {
sb.append(new String(buffer, 0, len));
}
+ assertTrue(nextEntry.getName().equals("csar.meta"));
+ readNextEntry(sb, len, buffer, zip);
+ nextEntry = zip.getNextEntry();
assertTrue(nextEntry.getName().equals("TOSCA-Metadata/TOSCA.meta"));
YamlToObjectConverter yamlToObjectConverter = new YamlToObjectConverter();
diff --git a/asdc-tests/src/main/resources/ci/testSuites/sanity.xml b/asdc-tests/src/main/resources/ci/testSuites/sanity.xml
index 21b7043ad3..6a3d1178f5 100644
--- a/asdc-tests/src/main/resources/ci/testSuites/sanity.xml
+++ b/asdc-tests/src/main/resources/ci/testSuites/sanity.xml
@@ -152,6 +152,7 @@
</methods>
</class>
</classes>
+ </test>
<test name="Catalog">
<classes>
<class name="org.openecomp.sdc.ci.tests.execute.category.CatalogDataApiTest" />