Whamcloud - gitweb
LU-9271 tests: remove unnecessary sanity-scrub test delay 57/26457/3
authorFan Yong <fan.yong@intel.com>
Tue, 22 Nov 2016 17:39:05 +0000 (01:39 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 19 Apr 2017 04:54:11 +0000 (04:54 +0000)
commit73d6f8f93ff3b8c1cf85f759b11ddc00fc07d931
tree78e776b8f5c575d1db7f5abcff6dd422908cc35f
parent74fdbc5c4f11e8ba1374c1d042267e9500be9ac3
LU-9271 tests: remove unnecessary sanity-scrub test delay

In sanity-scrub test_5, we want to check the OI scrub state machine.
For that, we inject some failure stub to delay the test for checking
status. But sometimes, we want to check the status within some short
time that may be not enough because of the injected test delay. This
patch removes one unnecessary status checking since it has been done
in former check. On the other hand, the subsequent checking also can
indicate the correctness of the skipped status.

Test-parameters: trivial

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I14b5096db3d7ca255f3de1a8853dde85ead54215
Reviewed-on: https://review.whamcloud.com/26457
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/tests/sanity-scrub.sh