You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stefan Miklosovic (Jira)" <ji...@apache.org> on 2025/03/10 08:27:00 UTC

[jira] [Updated] (CASSANDRA-19672) some unit tests should generate files in the tmp directory

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

Stefan Miklosovic updated CASSANDRA-19672:
------------------------------------------
    Reviewers: Isaac Reath, Paulo Motta, Stefan Miklosovic  (was: Isaac Reath, Paulo Motta)
       Status: Review In Progress  (was: Patch Available)

> some unit tests should generate files in the tmp directory
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-19672
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-19672
>             Project: Apache Cassandra
>          Issue Type: Improvement
>          Components: Test/unit
>            Reporter: Ling Mao
>            Assignee: Ling Mao
>            Priority: Normal
>             Fix For: 5.x
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org