Eric Pugh created SOLR-16778:
--------------------------------
Summary: Skip check for local solr's running in bin/solr package
Key: SOLR-16778
URL: https://issues.apache.org/jira/browse/SOLR-16778
Project: Solr
Issue Type: Sub-task
Security Level: Public (Default Security Level. Issues are Public)
Components: cli
Affects Versions: 9.2, main (10.0)
Reporter: Eric Pugh
bin/solr package assumes you are running it on a local Solr box, it has a check
that is super similar to the bin/solr status check for a local Solr node, and
if it isn't running, then it exits.
I'd like to remove that check, since we already have a bin/solr status, and let
you install a package (assuming it's all API level) if you aren't on a local
box. I can imagine this for installing packages into a docker container for
example..
Here is the test bats test I would use:
@test "outputting help without running solr" {
run solr package -help
assert_output --partial "Add a repository to Solr"
}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]