Details
-
Improvement
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
Quality Assurance
-
Low Hanging Fruit
-
All
-
None
-
Description
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
Attachments
Issue Links
- is related to
-
CASSANDRA-16557 (3.0,3.11) Migrate dependency handling from maven-ant-tasks to resolver-ant-tasks
- Resolved