[
https://issues.apache.org/jira/browse/CASSANDRA-15508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17017394#comment-17017394
]
David Capwell commented on CASSANDRA-15508:
-------------------------------------------
Thanks! Replicated locally
{code}
$ ant test-jvm-dtest-forking
...
[exec] testsome:
[exec] [junit-timeout] OpenJDK 64-Bit Server VM warning: Option
UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in
a future release.
[exec] [junit-timeout] Testsuite:
org.apache.cassandra.distributed.test.FailingRepairTest
[exec] [junit-timeout] Testsuite:
org.apache.cassandra.distributed.test.FailingRepairTest Tests run: 1, Failures:
0, Errors: 1, Skipped: 0, Time elapsed: 0.086 sec
[exec] [junit-timeout]
[exec] [junit-timeout] Testcase:
initializationError(org.junit.runner.manipulation.Filter): Caused an
ERROR
[exec] [junit-timeout] No tests found matching Method
testFailingMessage(org.apache.cassandra.distributed.test.FailingRepairTest)
from org.junit.internal.requests.ClassRequest@481a996b
[exec] [junit-timeout] java.lang.Exception: No tests found matching Method
testFailingMessage(org.apache.cassandra.distributed.test.FailingRepairTest)
from org.junit.internal.requests.ClassRequest@481a996b
[exec] [junit-timeout] at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
[exec] [junit-timeout] at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
[exec] [junit-timeout] at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
[exec] [junit-timeout] at
java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[exec] [junit-timeout]
[exec] [junit-timeout]
[exec] [junit-timeout] Test
org.apache.cassandra.distributed.test.FailingRepairTest FAILED
[exec] [junitreport] Processing
/Users/dcapwell/src/github/apache/cassandra/build/test/TESTS-TestSuites.xml to
/var/folders/cm/08cddl2s25j7fq3jdb76gh4r0000gn/T/null1366232332
[exec] [junitreport] Loading stylesheet
jar:file:/usr/local/Cellar/ant/1.10.7/libexec/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl
[exec]
[exec] BUILD FAILED
[exec] /Users/davidcapwell/src/github/apache/cassandra/build.xml:1517: The
following error occurred while executing this line:
[exec] /Users/davidcapwell/src/github/apache/cassandra/build.xml:1803:
Some test(s) failed.
[exec]
[exec] Total time: 5 seconds
[exec] [junitreport] Transform time: 943ms
[exec] [junitreport] Deleting:
/var/folders/cm/08cddl2s25j7fq3jdb76gh4r0000gn/T/null1366232332
[exec] Picked up _JAVA_OPTIONS: -Djava.net.preferIPv4Stack=true
[exec] Buildfile: /Users/davidcapwell/src/github/apache/cassandra/build.xml
[exec] [script] Warning: Nashorn engine is planned to be removed from a
future JDK release
{code}
This looks caused by the fact test-jvm-dtest-forking is implemented on top of
testsome. The tests run faster with testclasslist and would let circle run
multiple instance in parallel; is there any issue with changing circle to use
that and let testsome keep breaking?
> Failing jvm dtest: FailingRepairTest.testFailingMessage
> -------------------------------------------------------
>
> Key: CASSANDRA-15508
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15508
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: Marcus Eriksson
> Assignee: David Capwell
> Priority: Normal
>
> It seems we can't run parameterized unit tests with {{ant testsome}}:
> {code}
> $ ant testsome
> -Dtest.name=org.apache.cassandra.distributed.test.FailingRepairTest
> -Dtest.methods=testFailingMessage
> ....
> [junit-timeout] Testcase:
> initializationError(org.junit.runner.manipulation.Filter): Caused an ERROR
> [junit-timeout] No tests found matching Method
> testFailingMessage(org.apache.cassandra.distributed.test.FailingRepairTest)
> from org.junit.internal.requests.ClassRequest@4d95d2a2
> [junit-timeout] java.lang.Exception: No tests found matching Method
> testFailingMessage(org.apache.cassandra.distributed.test.FailingRepairTest)
> from org.junit.internal.requests.ClassRequest@4d95d2a2
> [junit-timeout] at
> java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]