Whamcloud - gitweb
LU-5338 tests: sanity-lfsck 11b allow larger last_id
In sanity-lfsck test_11b allow the OST to report the last_id
larger than the previously-used OID on the MDS. This may
happen if the OST preallocates additional objects or skips
some objects during recovery.
Add wait_update_cond() and wait_update_facet_cond() to
allow checking an arbitrary condition against the expected
result rather than only exactly equal to the expected value.
Remove the wait_result() helper function, which is essentially
the same thing as wait_update_facet(), and only has a few users.
Test-Parameters: trivial mdscount=2 mdtcount=4 testlist=sanity-lfsck
Test-Parameters: fstype=zfs mdscount=2 mdtcount=4 testlist=sanity-lfsck
Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Change-Id: I1443d16699d8115fce664a331134ca6076ecab07
Reviewed-on: https://review.whamcloud.com/34349
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Hongchao Zhang <hongchao@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>