[
https://issues.apache.org/jira/browse/CASSANDRA-16745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363927#comment-17363927
]
Brandon Williams commented on CASSANDRA-16745:
----------------------------------------------
+1
> Fix test failures when running via IntelliJ
> -------------------------------------------
>
> Key: CASSANDRA-16745
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16745
> Project: Cassandra
> Issue Type: Improvement
> Components: Test/unit
> Reporter: Abe Ratnofsky
> Assignee: Abe Ratnofsky
> Priority: Low
> Labels: IDE
> Fix For: 3.0.x, 3.11.x, 4.0.x, 4.x
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]