Lines Matching refs:failure
253 def test_bitmap_sync(bsync_mode, msync_mode='bitmap', failure=None): argument
287 preposition = "with" if failure else "without"
289 "{:s} failure".format(failure) if failure
304 if failure == 'intermediate':
351 if failure == 'intermediate':
374 if ((bsync_mode == 'on-success' and not failure) or
381 cancel=(failure == 'simulated'))
386 if bsync_mode == 'always' and failure == 'intermediate':
432 expected_match=failure != 'intermediate')
433 if not failure or bsync_mode == 'always':
520 for failure in ("simulated", "intermediate", None):
521 test_bitmap_sync(bsync_mode, "bitmap", failure)
525 for failure in ('simulated', 'intermediate', None):
526 test_bitmap_sync(bsync_mode, sync_mode, failure)