Whamcloud - gitweb
LU-11885 test: reset quota upon test failed 08/34108/3
authorWang Shilong <wshilong@ddn.com>
Fri, 25 Jan 2019 02:05:41 +0000 (10:05 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 21 Mar 2019 03:43:30 +0000 (03:43 +0000)
commit950ae3c6346eca9216f11868e05b5e79314d3cb3
tree59b1dded9750a9bb58f76b532ccf26ab2d793fca
parent50c01e02506fbeb50bc36a2ccfcb7037bb65cd2f
LU-11885 test: reset quota upon test failed

Currently if test fail, EXIT will be trapped and
cleanup_quota_test() will be called to cleanup dirs.

However, we didn't reset quota in this case, this might
make following test fail because of this.

Also cleanup duplicated lines sine we have done reseting
inside cleanup_quota_test().

Test-Parameters: trivial testlist=sanity-quota
Signed-off-by: Wang Shilong <wshilong@ddn.com>
Change-Id: Ic70f59cdc1181473721e4f87b806b8203857fca8
Reviewed-on: https://review.whamcloud.com/34108
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/tests/sanity-quota.sh