You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Bernardo Botella Corbi (Jira)" <ji...@apache.org> on 2022/05/05 18:45:00 UTC
[jira] [Assigned] (CASSANDRA-17083) testsome target doesn't work with wildcards
[ https://issues.apache.org/jira/browse/CASSANDRA-17083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Bernardo Botella Corbi reassigned CASSANDRA-17083:
--------------------------------------------------
Assignee: Bernardo Botella Corbi
> testsome target doesn't work with wildcards
> -------------------------------------------
>
> Key: CASSANDRA-17083
> URL: https://issues.apache.org/jira/browse/CASSANDRA-17083
> Project: Cassandra
> Issue Type: Bug
> Components: Build
> Reporter: Berenguer Blasi
> Assignee: Bernardo Botella Corbi
> Priority: Normal
> Labels: low-hanging-fruit
> Fix For: 3.11.x, 4.0.x, 4.x
>
>
> Running {{ant test -Dtest.name=PasswordObfuscator*Test}} runs the test correctly. But {{ant testsome -Dtest.name=PasswordObfuscator*Test}} will make it fail like
> {noformat}
> [junit-timeout] Testsuite: org.apache.cassandra.cql3.PasswordObfuscatorTest
> [junit-timeout] Testsuite: org.apache.cassandra.cql3.PasswordObfuscatorTest Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.038 sec
> [junit-timeout]
> [junit-timeout] Testsuite: PasswordObfuscator*Test
> [junit-timeout] Testsuite: PasswordObfuscator*Test Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0 sec
> [junit-timeout]
> [junit-timeout] Null Test: Caused an ERROR
> [junit-timeout] PasswordObfuscator*Test
> [junit-timeout] java.lang.ClassNotFoundException: PasswordObfuscator*Test
> [junit-timeout] at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
> [junit-timeout] at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
> [junit-timeout] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
> [junit-timeout] at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
> [junit-timeout] at java.lang.Class.forName0(Native Method)
> [junit-timeout] at java.lang.Class.forName(Class.java:348)
> [junit-timeout]
> [junit-timeout]
> [junit-timeout] Test PasswordObfuscator*Test FAILED
> {noformat}
> We should fix testsome as this is a useful feature for 'families' of tests such as {{ViewComplex*Test}}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org