Whamcloud - gitweb
LU-16216 tests: Update sanity-lnet for other LNDs 88/48788/4
authorChris Horn <chris.horn@hpe.com>
Mon, 3 Oct 2022 18:20:20 +0000 (12:20 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 17 Nov 2022 06:56:23 +0000 (06:56 +0000)
commit18e14c7099065891516b189467c0ff11ec7f470a
tree3e75e85dda090653a5d7fad44c644c042cd40d88
parent5b998d803ffbd02ed306195d231e0a3478658574
LU-16216 tests: Update sanity-lnet for other LNDs

Modify various sanity-lnet test cases to allow them to execute on
other LNDs.

Some tests only work or make sense with socklnd, so we add explicit
checks for NETTYPE == tcp to these tests.

kfilnd doesn't currently support LNet drop rules, so any tests cases
that utilize those are skipped for NETTYPE == kfi.

Two other fixes are included here:
 - test_230 doesn't check the correct default value of conns_per_peer
   in cases where the conns_per_peer parameter is set or when the link
   speed causes a value other than 1 to be used.
 - test_250 should be skipped in cases where the skip_mr_route_setup
   module parameter is > 0.

HPE-bug-id: LUS-10852
Test-Parameters: trivial testlist=sanity-lnet
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I60f4c49d44d81b00bea01ff1f65adb6f20674bbf
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/48788
Tested-by: Maloo <maloo@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-lnet.sh
lustre/tests/test-framework.sh