From: Chris Horn Date: Wed, 5 Oct 2022 19:44:10 +0000 (-0600) Subject: LU-16243 tests: Specify ping source in test_218 X-Git-Tag: 2.15.53~88 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=38a52f2fc38149dd7580f0bf5d3f686a5f0a7a15;p=fs%2Flustre-release.git LU-16243 tests: Specify ping source in test_218 In sanity-lnet test_218 we want to drop all traffic from "nid1" to itself. Use the --source argument to lnetctl ping command to ensure that the ping is not sent from nid2 to nid1. HPE-bug-id: LUS-11275 Test-Parameters: trivial Signed-off-by: Chris Horn Change-Id: Ib82f182e1da5af303d4763d090d868196eb0ad70 Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48891 Tested-by: jenkins Tested-by: Maloo Reviewed-by: James Simmons Reviewed-by: Frank Sehr Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/sanity-lnet.sh b/lustre/tests/sanity-lnet.sh index 27c40a8..d3eb6cf 100755 --- a/lustre/tests/sanity-lnet.sh +++ b/lustre/tests/sanity-lnet.sh @@ -2404,7 +2404,7 @@ test_218() { $LCTL net_drop_add -s $nid1 -d $nid1 -e local_error -r 1 - do_lnetctl ping $nid1 && + do_lnetctl ping --source $nid1 $nid1 && error "ping should have failed" local health_recovered