Whamcloud - gitweb
LU-4306 tests: improve test_4a of s-q 83/15483/2
authorNiu Yawei <yawei.niu@intel.com>
Fri, 3 Jul 2015 03:51:41 +0000 (23:51 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 10 Jul 2015 02:57:58 +0000 (02:57 +0000)
commita838fe8b43a8e3afb35d4854745b4876726f82c5
treeeab08e6e6e0c33917db0565a8ddc622f770a002c
parent9bcf83c0a84d7cbb86f4bcd55cc01b0ab7c72250
LU-4306 tests: improve test_4a of s-q

test_4a of s-q used "sync; sleep 1; sync" to sync all data, that
could stall for an unexpected long time, this patch changes it
to sync_all_data for better time-efficiency.

This patch also modified the script to report proper error when
the grace has already expired before trying create new file.

Signed-off-by: Niu Yawei <yawei.niu@intel.com>
Change-Id: I4aa2f69933be37d5f98af8172ed6a20781fe6e38
Reviewed-on: http://review.whamcloud.com/15483
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Fan Yong <fan.yong@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/tests/sanity-quota.sh