Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
Correctness
-
Low
-
Low Hanging Fruit
-
User Report
-
All
-
None
-
Description
Running ant test -Dtest.name=PasswordObfuscator*Test runs the test correctly. But ant testsome -Dtest.name=PasswordObfuscator*Test will make it fail like
[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
We should fix testsome as this is a useful feature for 'families' of tests such as ViewComplex*Test
Attachments
Issue Links
- Discovered while testing
-
CASSANDRA-17070 ViewComplexTest hardening
- Resolved
- links to