]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/tests: Reset endpoint before creating additional zones 50397/head
authorSoumya Koduri <skoduri@redhat.com>
Mon, 6 Mar 2023 14:23:08 +0000 (19:53 +0530)
committerSoumya Koduri <skoduri@redhat.com>
Mon, 6 Mar 2023 14:25:34 +0000 (19:55 +0530)
Signed-off-by: Soumya Koduri <skoduri@redhat.com>
Fixes: https://tracker.ceph.com/issues/58822
src/test/rgw/test-rgw-multisite.sh

index 60e2a69ae19fced77c98e0cab01bd8c21b9e8745..a005b19e3daca58994c96dfb94ed85e17264465c 100755 (executable)
@@ -56,6 +56,7 @@ i=2
 while [ $i -le $num_clusters ]; do
   x $(start_ceph_cluster c$i) -n $(get_mstart_parameters $i)
   j=1
+  endpoints=""
   while [ $j -le $rgws ]; do
     port=$((8000+i*100+j))
     endpoints="$endpoints""$url:$port,"