Whamcloud - gitweb
LU-13232 tests: add stack_trap to clean up sanity 160j 50/37550/4
authorJames Nunez <jnunez@whamcloud.com>
Wed, 12 Feb 2020 19:00:56 +0000 (12:00 -0700)
committerOleg Drokin <green@whamcloud.com>
Thu, 20 Feb 2020 07:15:19 +0000 (07:15 +0000)
commit4891c873184ad2fc3e90abc769456166998cace3
tree09a0b810005192e8c88ac855c2152416730aa822
parentcc3643908d6c902db3d6c95647fff007bad0ff53
LU-13232 tests: add stack_trap to clean up sanity 160j

When sanity test 160j fails at any point in the test before
clean up, a client can be left with no file system mounted
or the second file system mount could be left mounted.  We
need to call stack_trap after each of these commands to
clean up the mount points in case of the test failing.

Test-Parameters: trivial
Signed-off-by: James Nunez <jnunez@whamcloud.com>
Change-Id: I631cc2bb2d664a0cdcfe5942d16cd1d011a822ef
Reviewed-on: https://review.whamcloud.com/37550
Tested-by: jenkins <devops@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Wei Liu <sarah@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity.sh