From: Elena Gryaznova Date: Fri, 16 Feb 2018 09:46:30 +0000 (+0300) Subject: LU-8503 tests: fix replay-single/66b test X-Git-Tag: 2.11.0-RC1~17 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F41%2F21941%2F5;p=fs%2Flustre-release.git LU-8503 tests: fix replay-single/66b test In replay-single test_66b replace lookup with touch to ensure a new RPC is sent on each test invocation. Author: Abrarahmed Momin Signed-off-by: Abrarahmed Momin Signed-off-by: Elena Gryaznova Signed-off-by: Ashish Purkar Test-Parameters: trivial testlist=replay-single envdefinitions=ONLY=66b Cray-bug-id: LUS-4868 Seagate-bug-id: MRP-3386 Reviewed-by: Rahul Deshmukh Reviewed-by: Ujjwal Lanjewar Change-Id: I87e91cccd8af92fe9ca2002127af934b8b02edfb Reviewed-on: https://review.whamcloud.com/21941 Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Alexandr Boyko Reviewed-by: Vladimir Saveliev Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/replay-single.sh b/lustre/tests/replay-single.sh index 3b0f75e..3dfcd04 100755 --- a/lustre/tests/replay-single.sh +++ b/lustre/tests/replay-single.sh @@ -1912,7 +1912,7 @@ test_66b() #bug 3055 $LCTL set_param fail_val=$(($ORIG + 5)) #define OBD_FAIL_PTLRPC_PAUSE_REP 0x50c $LCTL set_param fail_loc=0x50c - ls $DIR/$tfile > /dev/null 2>&1 + touch $DIR/$tfile > /dev/null 2>&1 $LCTL set_param fail_loc=0 CUR=$(lctl get_param -n mdc.${FSNAME}-MDT0000*.timeouts | awk '/network/ {print $4}')