You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Caleb Rackliffe (Jira)" <ji...@apache.org> on 2021/06/15 21:04:00 UTC

[jira] [Assigned] (CASSANDRA-16745) Fix test failures when running via IntelliJ

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

Caleb Rackliffe reassigned CASSANDRA-16745:
-------------------------------------------

    Assignee: Abe Ratnofsky

> Fix test failures when running via IntelliJ
> -------------------------------------------
>
>                 Key: CASSANDRA-16745
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16745
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Abe Ratnofsky
>            Assignee: Abe Ratnofsky
>            Priority: Normal
>
> After running `ant generate-idea-files` and opening the project in IntelliJ IDEA 2021.1.2, tests that referenced PropertyFileSnitch (like NetworkTopologyStrategyTest.testProperties) failed with error org.apache.cassandra.exceptions.ConfigurationException: Unable to read cassandra-topology.properties.
>  
> I fixed this issue in IntelliJ by marking test/conf as Test Resources (under Project Structure), and have patches to fix `ant generate-idea-files` so the manual reconfiguration is not necessary:
>  
> 3.0 - [https://github.com/aratno/cassandra/tree/abe-fix-intellij-test-3-0]
> 3.11 - [https://github.com/aratno/cassandra/tree/abe-fix-intellij-test-3-11]
> 4.0 - [https://github.com/aratno/cassandra/tree/abe-fix-intellij-test-4-0]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org