General Test related fixes
- Enable console output during test run.
There were sign of test code bugs in those messages.
Exposing them to console to catch them early.
- Add default LogBack configuration used while unit-test run.
log level currently set to WARN
- Configured hazelcast to follow the above.
- BugFix: ControllerTest.java
-- Stop starting LinkDiscovery, which was starting a thread
not necessary for the test case
-- notifyAll must be called in synchronized block
Change-Id: Ica94dfc3a46a871b69800615e75232107b06771e
diff --git a/pom.xml b/pom.xml
index 6a07d5a..29b8520 100644
--- a/pom.xml
+++ b/pom.xml
@@ -130,8 +130,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.plugin.version}</version>
<configuration>
- <argLine>-XX:MaxPermSize=256m</argLine>
- <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <argLine>-XX:MaxPermSize=256m -Dhazelcast.logging.type=slf4j</argLine>
+ <redirectTestOutputToFile>false</redirectTestOutputToFile>
<excludedGroups>net.onrc.onos.core.util.IntegrationTest</excludedGroups>
</configuration>
</plugin>