Abe Ratnofsky created CASSANDRA-16745:
-----------------------------------------
Summary: 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
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]