Whamcloud - gitweb
LU-13423 tests: cleanup_netns correctly set result 03/44203/3
authorShaun Tancheff <shaun.tancheff@hpe.com>
Tue, 7 Apr 2020 23:05:06 +0000 (18:05 -0500)
committerOleg Drokin <green@whamcloud.com>
Mon, 13 Sep 2021 19:06:47 +0000 (19:06 +0000)
commitd57a67536a8920496847618275e254d050ed1203
treebd39d8d8b4ff327551b1be07b5b9affd8ad562ac
parent1bc0c2eae29180fc8d49462252e742f92cc2d37c
LU-13423 tests: cleanup_netns correctly set result

The existence test for 'test1pl' should not result in
cleanup_netns returning failure to the caller.

A slightly more terse if/else can be used to ensure the
caller is notified of failure only in the case of
test1pl not being deleted.

Lustre-change: https://review.whamcloud.com/38157
Lustre-commit: 410b655c71849e5a26251f7c187b19ed8f504bd7

Test-Parameters: trivial
HPE-bug-id: LUS-8713

Signed-off-by: Shaun Tancheff <shaun.tancheff@hpe.com>
Change-Id: I85dee20ec0f0ccd0be17597431fcedda9469d9da
Reviewed-by: Chris Horn <chris.horn@hpe.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Aurelien Degremont <degremoa@amazon.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/44203
Reviewed-by: Serguei Smirnov <ssmirnov@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/tests/sanity-lnet.sh