Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Zookeeper, mail # dev - Small patch for test classes to better support eclipse

Copy link to this message
Small patch for test classes to better support eclipse
Warren Turkal 2011-08-29, 21:27
Here is a small patch to better support eclipse. It makes one of the base
classes that doesn't include any tests get ignored by the JUnit4 test

Please include, if possible.


Index: src/java/systest/org/apache/zookeeper/test/system/BaseSysTest.java
==================================================================--- src/java/systest/org/apache/zookeeper/test/system/BaseSysTest.java
+++ src/java/systest/org/apache/zookeeper/test/system/BaseSysTest.java (working
@@ -32,8 +32,10 @@
 import org.apache.zookeeper.ZooKeeper;
 import org.apache.zookeeper.server.quorum.QuorumPeer;
 import org.apache.zookeeper.server.quorum.QuorumPeer.QuorumServer;
+import org.junit.Ignore;
 import org.junit.runner.JUnitCore;

 public class BaseSysTest extends TestCase {
     private static int fakeBasePort = 33222;
     private static String zkHostPort;