From 7f72dedcdfaecbe216647664d42e880f949838c6 Mon Sep 17 00:00:00 2001 From: Alex Zhuravlev Date: Fri, 25 Aug 2023 14:01:53 +0300 Subject: [PATCH] EX-8150 tests: hot-pools doesn't need yq just a single test using yq for the trivial check.. we don't really need yq, IMO. Test-Parameters: fortestonly testlist=hot-pools Signed-off-by: Alex Zhuravlev Change-Id: Ib11bd85938646ba1387d26e0d39cc54dcfe04bf0 Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/52092 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/tests/hot-pools.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lustre/tests/hot-pools.sh b/lustre/tests/hot-pools.sh index 252f686..599cac9 100755 --- a/lustre/tests/hot-pools.sh +++ b/lustre/tests/hot-pools.sh @@ -34,10 +34,6 @@ else fi -which yq || skip_env "yq is not installed" -YQ_OUTPUT=$(echo 'pants: OK' | yq .) -[[ -n "$YQ_OUTPUT" ]] || skip_env "yq is not working" - # check passwordless ssh setup among server nodes for mds_node in $(all_mgt_mdts_nodes); do for oss_node in $(all_osts_nodes); do @@ -1240,7 +1236,7 @@ test_6c() { stack_trap "rm -f ${LAMIGO_USERFILE[0]}" sleep 5 - scan_begin=$(dump_one_lamigo_stats | yq .stats.scan_begin) + scan_begin=$(dump_one_lamigo_stats | awk '/scan_begin:/{print $2}') echo "scan_begin = '$scan_begin'" ((scan_begin != 0)) || error "lamigo did not rescan" -- 1.8.3.1