Whamcloud - gitweb
LU-16243 tests: Specify ping source in test_218 91/48891/2
authorChris Horn <chris.horn@hpe.com>
Wed, 5 Oct 2022 19:44:10 +0000 (13:44 -0600)
committerOleg Drokin <green@whamcloud.com>
Tue, 8 Nov 2022 08:52:50 +0000 (08:52 +0000)
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 <chris.horn@hpe.com>
Change-Id: Ib82f182e1da5af303d4763d090d868196eb0ad70
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48891
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-lnet.sh

index 27c40a8..d3eb6cf 100755 (executable)
@@ -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