Author: jstrachan
Date: Wed Jul 23 11:36:34 2008
New Revision: 679155
URL: http://svn.apache.org/viewvc?rev=679155&view=rev
Log:
Made more of the tests pass with more forking and added log4j configuration to avoid warnings
when running tests
Added:
activemq/sandbox/zookeeper/zookeeper-core/src/test/resources/
activemq/sandbox/zookeeper/zookeeper-core/src/test/resources/log4j.properties (with
props)
Modified:
activemq/sandbox/zookeeper/pom.xml
Modified: activemq/sandbox/zookeeper/pom.xml
URL: http://svn.apache.org/viewvc/activemq/sandbox/zookeeper/pom.xml?rev=679155&r1=679154&r2=679155&view=diff
==============================================================================
--- activemq/sandbox/zookeeper/pom.xml (original)
+++ activemq/sandbox/zookeeper/pom.xml Wed Jul 23 11:36:34 2008
@@ -254,6 +254,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<failIfNoTests>false</failIfNoTests>
+ <forkMode>pertest</forkMode>
+ <useFile>true</useFile>
<systemProperties>
<property>
<name>build.test.dir</name>
Added: activemq/sandbox/zookeeper/zookeeper-core/src/test/resources/log4j.properties
URL: http://svn.apache.org/viewvc/activemq/sandbox/zookeeper/zookeeper-core/src/test/resources/log4j.properties?rev=679155&view=auto
==============================================================================
--- activemq/sandbox/zookeeper/zookeeper-core/src/test/resources/log4j.properties (added)
+++ activemq/sandbox/zookeeper/zookeeper-core/src/test/resources/log4j.properties Wed Jul
23 11:36:34 2008
@@ -0,0 +1,36 @@
+## ------------------------------------------------------------------------
+## Licensed to the Apache Software Foundation (ASF) under one or more
+## contributor license agreements. See the NOTICE file distributed with
+## this work for additional information regarding copyright ownership.
+## The ASF licenses this file to You under the Apache License, Version 2.0
+## (the "License"); you may not use this file except in compliance with
+## the License. You may obtain a copy of the License at
+##
+## http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing, software
+## distributed under the License is distributed on an "AS IS" BASIS,
+## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+## See the License for the specific language governing permissions and
+## limitations under the License.
+## ------------------------------------------------------------------------
+
+#
+# The logging properties used for eclipse testing, We want to see debug output on the console.
+#
+log4j.rootLogger=INFO, file
+
+#log4j.logger.org.apache.zookeeper.protocols=DEBUG
+log4j.logger.org.apache.zookeeper.server=ERROR
+
+# CONSOLE appender not used by default
+log4j.appender.out=org.apache.log4j.ConsoleAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+log4j.appender.out.layout.ConversionPattern=[%30.30t] %-30.30c{1} %-5p %m%n
+#log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
+
+# File appender
+log4j.appender.file=org.apache.log4j.FileAppender
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d %-5p %c{1} - %m %n
+log4j.appender.file.file=target/test.log
Propchange: activemq/sandbox/zookeeper/zookeeper-core/src/test/resources/log4j.properties
------------------------------------------------------------------------------
svn:eol-style = native
|