aboutsummaryrefslogtreecommitdiffstats
path: root/common/src/test/java
diff options
context:
space:
mode:
authorMichal Kabaj <michal.kabaj@nokia.com>2018-05-04 13:30:59 +0200
committerRob Daugherty <rd472p@att.com>2018-05-04 17:33:16 +0000
commitac95c9672ab96b63ee414fbee77a334ffc01df4d (patch)
treed35f13aef218212a1139c51c08f5315dc0fea497 /common/src/test/java
parent3ee4ec41ac18e51a16eafa767e090502b1a33fb5 (diff)
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 <michal.kabaj@nokia.com>
Diffstat (limited to 'common/src/test/java')
-rw-r--r--common/src/test/java/org/openecomp/mso/adapter_utils/tests/MsoLoggerTest.java2
1 files changed, 1 insertions, 1 deletions
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();