Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

PackageToolTest uses wrong "--params" instead of "--param" in test

Eric Pughd1e505a0cbff
diff --git a/solr/core/src/test/org/apache/solr/cli/PackageToolTest.java b/solr/core/src/test/org/apache/solr/cli/PackageToolTest.java
index a961a1a80d9..f4155641910 100644
--- a/solr/core/src/test/org/apache/solr/cli/PackageToolTest.java
+++ b/solr/core/src/test/org/apache/solr/cli/PackageToolTest.java
@@ -157,7 +157,7 @@ public class PackageToolTest extends SolrCloudTestCase {
SecurityJson.USER_PASS
});
- // Leaving -p in for --params to test the deprecated value continues to work.
+ // Leaving -p in for --param to test the deprecated value continues to work.
run(
tool,
new String[] {
@@ -264,7 +264,7 @@ public class PackageToolTest extends SolrCloudTestCase {
"question-answer",
"--collections",
"abc",
- "--params",
+ "--param",
"RH-HANDLER-PATH=" + rhPath,
"--credentials",
SecurityJson.USER_PASS