[ 
https://issues.apache.org/jira/browse/CASSANDRA-17083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Berenguer Blasi updated CASSANDRA-17083:
----------------------------------------
                        Authors: Berenguer Blasi, Bernardo Botella Corbi  (was: 
Bernardo Botella Corbi)
    Test and Documentation Plan: See PR  (was: Posted a fix for double test 
running)
                         Status: Patch Available  (was: In Progress)

> 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: 5.x
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to