def METHOD_NAME(self):
    self.reg_output(r'^WARNING: Writing dirty block', count=1)
    self.reg_output(r'^WARNING: Remote metadata is outdated', count=1)
    # Write test data
    self.mkfs()
    self.mount(extra_args=['--keep-cache'])
    with open(pjoin(self.mnt_dir, 'testfile'), 'wb') as fh:
        fh.write(TEST_DATA)
    # Kill mount
    self.flush_cache()
    self.mount_process.kill()
    self.mount_process.wait()
    self.umount_fuse()
    # Update cache files
    cache_file = pjoin(self.cache_dir, escape(self.storage_url) + '-cache', '4-0')
    with open(cache_file, 'rb+') as fh:
        fh.write(TEST_DATA[::-1])
    self.fsck(expect_retcode=128)
    assert not os.path.exists(cache_file)
    # Ensure that we get updated data
    self.reg_output(r'^WARNING: sqlite3: recovered [0-9]+ frames from WAL file', count=1)
    self.mount()
    with open(pjoin(self.mnt_dir, 'testfile'), 'rb') as fh:
        assert fh.read() == TEST_DATA[::-1]
    self.umount()