From 300739c76abdaec738c63237249d88097c595cc8 Mon Sep 17 00:00:00 2001 From: Elena Gryaznova Date: Fri, 18 Nov 2016 21:29:34 +0200 Subject: [PATCH] LU-8805 tests: fix defect introduced by LU-8226 client loads run_tar.sh, run_dd.sh, etc. are executed on remote nodes; ps -C does not select them on main client. Test-parameters: trivial testlist=recovery-mds-scale Seagate-bug-id: MRP-4011 Signed-off-by: Elena Gryaznova Change-Id: Iaa066298f96b14af148007410f29f5c7b965ee2c Reviewed-on: http://review.whamcloud.com/23861 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: James Nunez Reviewed-by: Jian Yu Reviewed-by: Oleg Drokin --- lustre/tests/test-framework.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/tests/test-framework.sh b/lustre/tests/test-framework.sh index 57070ce..9436a7c 100755 --- a/lustre/tests/test-framework.sh +++ b/lustre/tests/test-framework.sh @@ -1937,7 +1937,7 @@ check_client_load () { local var=$(node_var_name $client)_load local testload=run_${!var}.sh - ps -C $testload | grep $client || return 1 + ps auxww | grep -v grep | grep $client | grep -q $testload || return 1 # bug 18914: try to connect several times not only when # check ps, but while check_node_health also -- 1.8.3.1