epugh commented on code in PR #1688:
URL: https://github.com/apache/solr/pull/1688#discussion_r1237045031
##########
solr/packaging/test/test_packages.bats:
##########
@@ -40,9 +40,29 @@ teardown() {
run solr package
refute_output --partial "No Solr nodes are running."
- run solr package -help
+ run solr package help
assert_output --partial "Add a repository to Solr"
run solr package list-available
assert_output --partial "Available packages:"
}
+
+@test "deploying and undeploying of packages" {
+ run solr start -c -Denable.packages=true
+
+ run solr package
+ refute_output --partial "No Solr nodes are running."
+
+ run solr package help
+ assert_output --partial "Bootstraps a previously installed package"
+ assert_output --partial "Undeploys a package from specified collection(s)"
+
+ # Deploy package - the package doesn't need to exist before the collection
validation kicks in
+ run solr package deploy PACKAGE_NAME -collections foo-1.2
+ # assert_output --partial "Deployment successful"
Review Comment:
okay, taking a looksee now...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]