You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "David Capwell (Jira)" <ji...@apache.org> on 2020/01/16 18:12:00 UTC
[jira] [Commented] (CASSANDRA-15508) Failing jvm dtest:
FailingRepairTest.testFailingMessage
[ https://issues.apache.org/jira/browse/CASSANDRA-15508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17017368#comment-17017368 ]
David Capwell commented on CASSANDRA-15508:
-------------------------------------------
This kinda makes sense since the test is parameterized. [~marcuse] do you have a link to a build which is failing because of this? Last I saw circle uses test-jvm-dtest and I use testclasslist when running it
{code}
$ ant testclasslist -Dtest.classlistfile=<(echo org/apache/cassandra/distributed/test/FailingRepairTest.java) -Dtest.classlistprefix=distributed
...
testclasslist:
[testparallelhelper] Warning: Nashorn engine is planned to be removed from a future JDK release
[echo] Number of test runners: 1
[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.
[junit-timeout] Testsuite: org.apache.cassandra.distributed.test.FailingRepairTest
[junit-timeout] Testsuite: org.apache.cassandra.distributed.test.FailingRepairTest Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 17.205 sec
[junit-timeout]
[junitreport] Processing /Users/dcapwell/src/github/apache/cassandra/build/test/TESTS-TestSuites.xml to /var/folders/cm/08cddl2s25j7fq3jdb76gh4r0000gn/T/null108561510
[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|file:///usr/local/Cellar/ant/1.10.7/libexec/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit/xsl/junit-frames.xsl]
[junitreport] Transform time: 389ms
[junitreport] Deleting: /var/folders/cm/08cddl2s25j7fq3jdb76gh4r0000gn/T/null108561510
BUILD SUCCESSFUL
Total time: 22 seconds
{code}
> 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org