This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 9d4d35abcc2 Fix breaking test in 9x only
9d4d35abcc2 is described below

commit 9d4d35abcc2ebd01d742f8c2f1040f81f3040e42
Author: Eric Pugh <[email protected]>
AuthorDate: Tue Oct 8 10:20:53 2024 -0400

    Fix breaking test in 9x only
---
 solr/packaging/test/test_zk.bats | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/solr/packaging/test/test_zk.bats b/solr/packaging/test/test_zk.bats
index a14f15748da..3da717eb8ec 100644
--- a/solr/packaging/test/test_zk.bats
+++ b/solr/packaging/test/test_zk.bats
@@ -106,7 +106,7 @@ teardown() {
   touch myfile2.txt
   run solr zk cp myfile2.txt zk:myfile2.txt -z localhost:${ZK_PORT}
   sleep 1
-  run solr zk ls / -z localhost:${ZK_PORT} -v
+  run solr zk ls / -z localhost:${ZK_PORT} --verbose
   assert_output --partial "myfile2.txt"
 
   touch myfile3.txt
@@ -147,7 +147,7 @@ teardown() {
 
 @test "zkcli.sh gets 'solrhome' from 'solr.home' system property" {
   sleep 1
-  run "${SOLR_TIP}/server/scripts/cloud-scripts/zkcli.sh" -v
+  run "${SOLR_TIP}/server/scripts/cloud-scripts/zkcli.sh" --verbose
   local extracted_solrhome=$(echo "$output" | grep -oE "solrhome=[^ ]+")
   # remove 'solrhome='
   local path_value=${extracted_solrhome#*=}
@@ -156,7 +156,7 @@ teardown() {
 
 @test "zkcli.sh gets 'solrhome' from 'solrhome' command line option" {
   sleep 1
-  run "${SOLR_TIP}/server/scripts/cloud-scripts/zkcli.sh" -v -s 
/path/to/solr/home
+  run "${SOLR_TIP}/server/scripts/cloud-scripts/zkcli.sh" --verbose -s 
/path/to/solr/home
   local extracted_solrhome=$(echo "$output" | grep -oE "solrhome=[^ ]+")
   # remove 'solrhome='
   local path_value=${extracted_solrhome#*=}

Reply via email to