Whamcloud - gitweb
LU-951 test: waiting import state in fail().
authoryangsheng <yang.sheng@intel.com>
Tue, 26 Feb 2013 08:40:24 +0000 (16:40 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Fri, 15 Mar 2013 20:27:22 +0000 (16:27 -0400)
commit9085c8d6563fd4fd49eea653c8a0d38cfbd0751b
tree6a5a0f4588a575f82537453a059e12c71d8672de
parentad720ef6863538c83d4b74d6caef2d32e32a7f9b
LU-951 test: waiting import state in fail().

Anyway, There still has a rare chance that the request meet
a invalid import after fail() return. So we should waiting
import restore to a certain state and doing next operation.
Add wait_import_state_mount() to check import state while
client has a mount point.

Signed-off-by: yang sheng <yang.sheng@intel.com>
Change-Id: I55ccb0fd30d69eae651978804ef1e303d9939a71
Reviewed-on: http://review.whamcloud.com/5531
Reviewed-by: Jian Yu <jian.yu@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Johann Lombardi <johann.lombardi@intel.com>
lustre/tests/test-framework.sh