Ling Mao created CASSANDRA-19672: ------------------------------------ Summary: some unit tests should generate files in the tmp directory Key: CASSANDRA-19672 URL: https://issues.apache.org/jira/browse/CASSANDRA-19672 Project: Cassandra Issue Type: Improvement Components: Test/unit Reporter: Ling Mao
I run "{*}_ant test_{*}" to fire the whole test suit cases in my local machine, and found some UTs had generated files in current directory, otherwise the tmp directory. {code:java} [root@vm-24-5-centos cassandra]# git status # audit/ # compaction.log # import_cql_test_keyspace_table_testcopyonlythoserowsthatmatchvectortyp_04.err {code} These problematic UTs are {code:java} ant testsome -Dtest.name=org.apache.cassandra.service.StorageServiceServerTest -Dtest.methods=testAuditLogEnableLoggerNotFound ant testsome -Dtest.name=org.apache.cassandra.service.StorageServiceServerTest -Dtest.methods=testAuditLogEnableLoggerTransitions ant testsome -Dtest.name=org.apache.cassandra.tools.CompactionStressTest -Dtest.methods=testWriteAndCompact ant testsome -Dtest.name=org.apache.cassandra.tools.cqlsh.CqlshTest -Dtest.methods=testCopyOnlyThoseRowsThatMatchVectorTypeSize {code} The patch is aimed to generate files in the tmp directory to fix it. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org