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/06 16:08:00 UTC

[jira] [Updated] (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 updated CASSANDRA-17083:
-----------------------------------------------
    Test and Documentation Plan: 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: 3.11.x, 4.0.x, 4.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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org