forked from rook/rook
Currently, we sleep only if the snapshot is not ready and try again, this covers only the happy path. the checks might fail to get the snapshot object or the `.status.readyToUse` might not be set yet. First sleep and then try to check snapshot is ready or not, if we do this we cover all the cases when checking the snapshot ready status. Changed sleep internal to do incremental sleep to give more time for tests. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>