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 3d741db8016 Fix tests to pass in branch_9x
3d741db8016 is described below

commit 3d741db80168dc5e53f278d6fd6e37558eecc53d
Author: Eric Pugh <[email protected]>
AuthorDate: Thu Oct 17 16:09:22 2024 -0400

    Fix tests to pass in branch_9x
---
 solr/packaging/test/test_placement_plugin.bats | 4 ++--
 solr/packaging/test/test_start_solr.bats       | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/solr/packaging/test/test_placement_plugin.bats 
b/solr/packaging/test/test_placement_plugin.bats
index 6187f6b8256..ba4664b0074 100644
--- a/solr/packaging/test/test_placement_plugin.bats
+++ b/solr/packaging/test/test_placement_plugin.bats
@@ -31,7 +31,7 @@ teardown() {
 
 @test "Affinity placement plugin using sysprop" {
   run solr start -c -Dsolr.placementplugin.default=affinity
-  solr assert --cloud http://localhost:${SOLR_PORT} --timeout 3000
+  solr assert --cloud http://localhost:${SOLR_PORT}/solr --timeout 3000
   run solr create -c COLL_NAME
   collection_exists COLL_NAME
   assert_file_contains "${SOLR_LOGS_DIR}/solr.log" 'Default replica placement 
plugin set in solr\.placementplugin\.default to affinity'
@@ -40,7 +40,7 @@ teardown() {
 @test "Random placement plugin using ENV" {
   export SOLR_PLACEMENTPLUGIN_DEFAULT=random
   run solr start -c
-  solr assert --cloud http://localhost:${SOLR_PORT} --timeout 3000
+  solr assert --cloud http://localhost:${SOLR_PORT}/solr --timeout 3000
   run solr create -c COLL_NAME
   collection_exists COLL_NAME
   assert_file_contains "${SOLR_LOGS_DIR}/solr.log" 'Default replica placement 
plugin set in solr\.placementplugin\.default to random'
diff --git a/solr/packaging/test/test_start_solr.bats 
b/solr/packaging/test/test_start_solr.bats
index cdefa0a02b1..838046dd216 100644
--- a/solr/packaging/test/test_start_solr.bats
+++ b/solr/packaging/test/test_start_solr.bats
@@ -53,7 +53,7 @@ teardown() {
 @test "start provides warning about SolrCloud mode" {
   run solr start
   solr assert --started http://localhost:${SOLR_PORT} --timeout 5000
-  assert_output --partial 'Solr will start in SolrCloud mode by default in 
version 10.  You will need to pass in --standalone flag to run in Standalone 
mode.'
+  assert_output --partial 'Solr will start in SolrCloud mode by default in 
version 10.  You will need to pass in --user-managed flag to run in User 
Managed (aka Standalone) mode.'
   solr stop
 }
 

Reply via email to