From 38a52f2fc38149dd7580f0bf5d3f686a5f0a7a15 Mon Sep 17 00:00:00 2001 From: Chris Horn Date: Wed, 5 Oct 2022 13:44:10 -0600 Subject: [PATCH] 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 --- lustre/tests/sanity-lnet.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.8.3.1