Re: maven command to run a specific test in a test case.

2019-09-20 Thread Enrico Olivelli
Il ven 20 set 2019, 23:54 Patrick Hunt ha scritto: > fwiw you can also address that by cd'ing into "zookeeper-server" directory > (the one with the test) and just run: > > mvn test -Dtest=UnifiedServerSocketTest > This is usually the best option. Btw aren't you using an IDE ? With ant it was

ZooKeeper-trunk - Build # 704 - Failure

2019-09-20 Thread Apache Jenkins Server
See https://builds.apache.org/job/ZooKeeper-trunk/704/ ### ## LAST 60 LINES OF THE CONSOLE ### [...truncated 208.38 KB...] [junit] Tests run: 1, Failures: 0, Errors:

Re: maven command to run a specific test in a test case.

2019-09-20 Thread Patrick Hunt
fwiw you can also address that by cd'ing into "zookeeper-server" directory (the one with the test) and just run: mvn test -Dtest=UnifiedServerSocketTest Patrick On Fri, Sep 20, 2019 at 2:51 PM Michael Han wrote: > Thanks Pat. You inspired me and here is another way of running single test: > >

Re: maven command to run a specific test in a test case.

2019-09-20 Thread Michael Han
Thanks Pat. You inspired me and here is another way of running single test: mvn clean install -DskipTests mvn test -Dtest=CreateTest#testCreate -pl zookeeper-server I think the problem I had was I did not specify the module of the test. Some module does not have test (like zookeeper-doc), so eith

Re: maven command to run a specific test in a test case.

2019-09-20 Thread Michael Han
just figured out, here is one concrete example: mvn test -DfailIfNoTests=false -Dtest=CreateTest#testCreate I have to set the "-DfailIfNoTests=false" to skip the modules that don't have a test. On Fri, Sep 20, 2019 at 2:27 PM Michael Han wrote: > Thanks Andor, I tried that before but got some

Re: maven command to run a specific test in a test case.

2019-09-20 Thread Patrick Hunt
the following works fine for me and runs the specified test (passes) $ mvn clean install -DskipTests $ mvn test -Dtest=UnifiedServerSocketTest -pl zookeeper-server [INFO] Tests run: 72, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 8.178 s - in org.apache.zookeeper.server.quorum.UnifiedServer

Jenkins build is back to stable : PreCommit-ZOOKEEPER-github-pr-build-maven #1319

2019-09-20 Thread Apache Jenkins Server
See

Re: maven command to run a specific test in a test case.

2019-09-20 Thread Michael Han
Thanks Andor, I tried that before but got some errors (still trying to figure out what those errors mean). Any chance you can have a concrete canonical example that execute a real single test via maven? On a side note, "mvn test" works for me which ran all tests, when executed under root zookeeper

Re: maven command to run a specific test in a test case.

2019-09-20 Thread Andor Molnar
Even better to do a quick google search: https://maven.apache.org/surefire/maven-surefire-plugin/examples/single-test.html mvn -Dtest=TestCircle#mytest test Andor On Fri, Sep 20, 2019 at 11:08 PM Andor Molnar wrote: > I usually use: > > mvn verify -Dtest=bar > > Which runs the entire testcase

Re: maven command to run a specific test in a test case.

2019-09-20 Thread Andor Molnar
I usually use: mvn verify -Dtest=bar Which runs the entire testcase. Not sure about how to run single test method. Andor On Fri, Sep 20, 2019 at 11:05 PM Michael Han wrote: > In ant, we can execute a single test "foo" in a test case "bar" like this: > > *ant -Dtestcase=bar -Dtest.method=foo

maven command to run a specific test in a test case.

2019-09-20 Thread Michael Han
In ant, we can execute a single test "foo" in a test case "bar" like this: *ant -Dtestcase=bar -Dtest.method=foo* What's the corresponding maven command? Cheers Michael.

[VOTE] Apache ZooKeeper release 3.5.6 candidate 1

2019-09-20 Thread Enrico Olivelli
This is a bugfix release candidate for 3.5.6. It fixes 27 issues, including upgrade of third party libraries, TTL Node APIs for C API, support for PCKS12 Keystores, and better procedure for the upgrade of servers from 3.4 to 3.5. The full release notes is available at: https://issues.apache.org/

Jenkins build became unstable: PreCommit-ZOOKEEPER-github-pr-build-maven #1318

2019-09-20 Thread Apache Jenkins Server
See

Jenkins build is back to stable : zookeeper-master-maven-jdk11 #153

2019-09-20 Thread Apache Jenkins Server
See

[jira] [Created] (ZOOKEEPER-3553) Create Performance Test Tool

2019-09-20 Thread David Mollitor (Jira)
David Mollitor created ZOOKEEPER-3553: - Summary: Create Performance Test Tool Key: ZOOKEEPER-3553 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3553 Project: ZooKeeper Issue Type:

Jenkins build is back to stable : PreCommit-ZOOKEEPER-github-pr-build-maven #1316

2019-09-20 Thread Apache Jenkins Server
See

Jenkins build is unstable: zookeeper-master-maven-jdk11 #152

2019-09-20 Thread Apache Jenkins Server
See

Jenkins build is back to stable : zookeeper-master-maven-jdk12 #150

2019-09-20 Thread Apache Jenkins Server
See

Build failed in Jenkins: zookeeper-master-maven-owasp #152

2019-09-20 Thread Apache Jenkins Server
See Changes: [nkalmar] ZOOKEEPER-3506: correct the javaDoc of the [nkalmar] ZOOKEEPER-3501: unify the method:op2String() -- [...truncated 261.92 KB...] Generat

Build failed in Jenkins: ZooKeeper-trunk-owasp #491

2019-09-20 Thread Apache Jenkins Server
See Changes: [andor] ZOOKEEPER-3357: Remove Dead Link from ZooKeeper Programmer Guide [nkalmar] ZOOKEEPER-3506: correct the javaDoc of the [nkalmar] ZOOKEEPER-3501: unify the method:op2String() ---