Commit 883c4fc1 authored by Filippo Carone's avatar Filippo Carone

close the logger in tests

parent eeb354fd
...@@ -53,6 +53,7 @@ public class LoggerTest ...@@ -53,6 +53,7 @@ public class LoggerTest
Logger logger = jvlc.getLogger(); Logger logger = jvlc.getLogger();
jvlc.play(mrl); jvlc.play(mrl);
Assert.assertTrue(logger.count() > 0); Assert.assertTrue(logger.count() > 0);
logger.close();
} }
/** /**
...@@ -74,7 +75,7 @@ public class LoggerTest ...@@ -74,7 +75,7 @@ public class LoggerTest
LoggerMessage message = loggerIterator.next(); LoggerMessage message = loggerIterator.next();
Assert.assertNotNull(message.getMessage()); Assert.assertNotNull(message.getMessage());
} }
logger.close();
} }
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment