Whamcloud - gitweb
LU-16551 tests: Ensure all peer credits used in MR 79/49979/2
authorChris Horn <chris.horn@hpe.com>
Mon, 13 Feb 2023 21:15:31 +0000 (15:15 -0600)
committerOleg Drokin <green@whamcloud.com>
Thu, 23 Feb 2023 06:34:24 +0000 (06:34 +0000)
commitaa66cb46761d72ec2c861ff9665ea6b6dbbe76a8
treed65e402002d2e337e63101b8eb12314b457e1805
parent893bd4b7ffcf6ef7d009e4eb0f21230a94c792c7
LU-16551 tests: Ensure all peer credits used in MR

sanity-lnet test_254 needs to ensure that all peer credits are
consumed. Because of the raciness of the round robin code in LNet,
we cannot rely on just issuing the appropriate number of pings.
Instead we should use the --source argument to lnetctl ping to ensure
that we send the correct number of pings over each interface.

To simplify matters, only perform this test, and the other tests that
call setup_health_test(), in non-routed configurations.

Test-Parameters: trivial testlist=sanity-lnet
Fixes: 52db11cdce ("LU-16303 lnet: Drop LNet message if deadline exceeded")
Signed-off-by: Chris Horn <chris.horn@hpe.com>
Change-Id: I05a7ffec37d16c14711fe696232708f927357b1c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/49979
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Frank Sehr <fsehr@whamcloud.com>
Reviewed-by: Cyril Bordage <cbordage@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-lnet.sh