Whamcloud - gitweb
LU-7149 tests: restore writethrough_cache_enable 24/16424/8
authorArtem Blagodarenko <artem.blagodarenko@seagate.com>
Tue, 15 Sep 2015 07:55:58 +0000 (10:55 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 2 Sep 2016 02:23:50 +0000 (02:23 +0000)
commit937656dca50d4b0ba8501fbea0a450c663cdabcc
tree5806c9e64930625a0d2df1d72ee6997971951cd6
parent74cecb5aad2243d1173405dc0063f4b46396f92f
LU-7149 tests: restore writethrough_cache_enable

Test sanity.sh test_224c is failed as expected if executed separately
and passes if executed by automatic system. Tests 155d,155f,155h,156
do "set_cache writethrough off" and don't restore the state. This
makes next tests work incorrectly.

This patch adds writethrough_cache_enable restore for each function
above.

Test-Parameters: trivial

Signed-off-by: Artem Blagodarenko <artem.blagodarenko@seagate.com>
Xyratex-bug-id: MRP-2590
Change-Id: I5f4f3f6c419a3aa415426607e776403da9822c2c
Reviewed-on: http://review.whamcloud.com/16424
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity.sh