From ac95c9672ab96b63ee414fbee77a334ffc01df4d Mon Sep 17 00:00:00 2001 From: Michal Kabaj Date: Fri, 4 May 2018 13:30:59 +0200 Subject: Fix for FileNotFoundException in MsoLoggerTest Remove over 100 whitespaces from logger filename which causes the unit tests to fail in some development environments. Change-Id: I068f4d4562b635b19889c3537282949665348c21 Issue-ID: SO-604 Signed-off-by: Michal Kabaj --- .../test/java/org/openecomp/mso/adapter_utils/tests/MsoLoggerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common') diff --git a/common/src/test/java/org/openecomp/mso/adapter_utils/tests/MsoLoggerTest.java b/common/src/test/java/org/openecomp/mso/adapter_utils/tests/MsoLoggerTest.java index 1122c90438..6ac7002101 100644 --- a/common/src/test/java/org/openecomp/mso/adapter_utils/tests/MsoLoggerTest.java +++ b/common/src/test/java/org/openecomp/mso/adapter_utils/tests/MsoLoggerTest.java @@ -87,7 +87,7 @@ public class MsoLoggerTest { public final void cleanAuditLogFile() throws FileNotFoundException { URL url = this.getClass().getClassLoader().getResource("logback-test.xml"); String logFile = url.getFile().substring(0, url.getFile().indexOf("test-classes")) - + "/MSO/Test/auditjbo ss.server.name_IS_UNDEFINED.log"; + + "/MSO/Test/auditjbo.server.name_IS_UNDEFINED.log"; PrintWriter asdcConfigFileWriter = new PrintWriter(logFile); asdcConfigFileWriter.print(""); asdcConfigFileWriter.flush(); -- cgit 1.2.3-korg