[
https://issues.apache.org/jira/browse/SOLR-10868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erick Erickson resolved SOLR-10868.
-----------------------------------
Resolution: Fixed
Fix Version/s: master (7.0)
Works for me on Master now, closing.
> Cannot run tests in IntelliJ
> ----------------------------
>
> Key: SOLR-10868
> URL: https://issues.apache.org/jira/browse/SOLR-10868
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Affects Versions: master (7.0)
> Reporter: Erick Erickson
> Fix For: master (7.0)
>
>
> SOLR-10647 moved a bunch of files from core to solrJ. As a result, they are
> no longer found when running tests from within IntelliJ. The error I get is:
> java.lang.RuntimeException: invalid API spec: apispec/cluster.json
> at
> __randomizedtesting.SeedInfo.seed([D735CBF9DE40D88C:88E874E66B342C33]:0)
> at
> org.apache.solr.common.util.ValidatingJsonMap.parse(ValidatingJsonMap.java:318)
> at org.apache.solr.common.util.Utils.lambda$getSpec$0(Utils.java:310)
> The files are in ./solr/core/src/resources/apispec which moved to
> ./solrj/src/resources/apispec
> If I manually copy
> ./solrj/src/resources/apispec/*
> to
> ./idea-build/solr/solr-core/classes/java/apispec
> whenever I execute "ant idea" then tests run.
> "ant test" runs even without the copy of course.
> This does _not_ affect 6x
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]