Whamcloud - gitweb
LU-8952 tests: handling test specific cleanup of ost pools 16/24416/11
authorJadhav Vikram <jadhav.vikram@seagate.com>
Fri, 10 Mar 2017 09:06:44 +0000 (14:36 +0530)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 16 Mar 2017 21:39:02 +0000 (21:39 +0000)
commit0b07798c8490b3537025e22d6d50a96321a8e513
tree444d6dfcaf71312b2ea27386018b0bf41029b5fc
parent2aa5147cd05fa8342493333e92a0c0fc7f87bbde
LU-8952 tests: handling test specific cleanup of ost pools

Using destroy_test_pools instead of cleanup_test as trap
function which will call destroy_pools to make sure pools
get removed from the list. Some testcase pool cleanup trap
is missing so incase of test failure pool will not get
destroyed, used trap to remove pool inside create_pool
instead of using in each testcase.

Seagate-bug-id: MRP-3767
Signed-off-by: Jadhav Vikram <jadhav.vikram@seagate.com>
Reviewed-by: Ujjwal Lanjewar <ujjwal.lanjewar@seagate.com>
Reviewed-by: Vladimir Saveliev <vladimir.saveliev@seagate.com>
Tested-by: Vitaly Fertman <vitaly.fertman@seagate.com>
Change-Id: I2bab8514962f3ec5312decd2ded29893e16c5cef
Reviewed-on: https://review.whamcloud.com/24416
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
lustre/tests/ost-pools.sh
lustre/tests/sanity.sh
lustre/tests/test-framework.sh