From aa5de3b282fa0ab7ae05036d1c4b19649d496eda Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Thu, 17 Dec 2015 14:53:03 -0800 Subject: [PATCH] rgw: test_multi: start radosgw with debug logs, asok Signed-off-by: Yehuda Sadeh --- src/mrgw.sh | 3 ++- src/test/rgw/test-rgw-common.sh | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/mrgw.sh b/src/mrgw.sh index ce309e5af682b..c58115ef7cc7a 100755 --- a/src/mrgw.sh +++ b/src/mrgw.sh @@ -13,7 +13,8 @@ shift 2 run_root=$script_root/run/$name pidfile=$run_root/out/radosgw.${port}.pid +asokfile=$run_root/out/radosgw.${port}.asok $script_root/mstop.sh $name radosgw $port -$script_root/mrun $name radosgw --rgw-frontends="civetweb port=$port" --pid-file=$pidfile "$@" +$script_root/mrun $name radosgw --rgw-frontends="civetweb port=$port" --pid-file=$pidfile --admin-socket=$asokfile "$@" diff --git a/src/test/rgw/test-rgw-common.sh b/src/test/rgw/test-rgw-common.sh index e1e435964315c..47d02bcf04412 100644 --- a/src/test/rgw/test-rgw-common.sh +++ b/src/test/rgw/test-rgw-common.sh @@ -1,5 +1,7 @@ #!/bin/bash +rgw_flags="--debug-rgw=20 --debug-ms=1" + function _assert { src=$1; shift lineno=$1; shift @@ -73,7 +75,7 @@ function rgw_admin { function rgw { [ $# -ne 2 ] && echo "rgw() needs 2 params" && exit 1 - echo "$root_path/mrgw.sh c$1 $2" + echo "$root_path/mrgw.sh c$1 $2 $rgw_flags" } function init_first_zone { -- 2.39.5