From 3940304759ebd74d05c129501aa5f92e5e938033 Mon Sep 17 00:00:00 2001 From: Pavel Aharoni Date: Thu, 11 May 2017 19:51:35 +0300 Subject: [SDC-20] fix sdc csar for tosca parser Change-Id: Ibfa18bd03cf1d4dc56062fbe1a55331217c6c76f Signed-off-by: Pavel Aharoni --- .../src/main/java/org/openecomp/test/CsarToscaTester.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sdc-distribution-ci/src/main/java/org') diff --git a/sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java b/sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java index 0ac842c..404f6d2 100644 --- a/sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java +++ b/sdc-distribution-ci/src/main/java/org/openecomp/test/CsarToscaTester.java @@ -48,14 +48,14 @@ public class CsarToscaTester { if (!exceptionReport.isEmpty()) { try { - fw = new FileWriter(new File(dir + "/critical-" + file.getName() + ".txt")); + fw = new FileWriter(new File(dir + "/" + exceptionReport.size() / 2 + "-critical-" + file.getName() + ".txt")); for (String exception : exceptionReport) { fw.write(exception); fw.write("\r\n"); } fw.close(); - fw = new FileWriter(new File(dir + "/warning-" + file.getName() + ".txt")); + fw = new FileWriter(new File(dir + "/" + warningsReport.size() / 2 + "-warning-" + file.getName() + ".txt")); for (String warning : warningsReport) { fw.write(warning); fw.write("\r\n"); -- cgit 1.2.3-korg