You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Abe Ratnofsky (Jira)" <ji...@apache.org> on 2021/06/15 19:34:00 UTC
[jira] [Created] (CASSANDRA-16745) Fix test failures when running
via IntelliJ
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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org