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
-
Re: Small patch for test classes to better support eclipse
Done:
https://issues.apache.org/jira/browse/ZOOKEEPER-1165

On Mon, Aug 29, 2011 at 2:37 PM, Patrick Hunt <[EMAIL PROTECTED]> wrote:

> Warren, sounds good, would you mind submitting as a patch on a jira?
> thanks!
> http://wiki.apache.org/hadoop/ZooKeeper/HowToContribute
>
> basically create a jira here and attach your patch:
> https://issues.apache.org/jira/browse/ZOOKEEPER
>
> Patrick
>
>
> On Mon, Aug 29, 2011 at 2:27 PM, Warren Turkal <[EMAIL PROTECTED]>
> wrote:
> > 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;
> >
>