Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
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
framework.

Please include, if possible.

Thanks,
wt

Index: src/java/systest/org/apache/zookeeper/test/system/BaseSysTest.java
==================================================================--- src/java/systest/org/apache/zookeeper/test/system/BaseSysTest.java
(revision
1162989)
+++ src/java/systest/org/apache/zookeeper/test/system/BaseSysTest.java (working
copy)
@@ -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;

+@Ignore
 public class BaseSysTest extends TestCase {
     private static int fakeBasePort = 33222;
     private static String zkHostPort;
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB