'Create some files to transfer.
Using /dev/urandom ensures the file actually gets transferred and we don\'t
just test the cache. The files created on the client will be automatically
deleted.  If you need the client files for debugging, remove the lifetime
parameter from CopyPathToFile.'

@flow.StateHandler()
def Start(self):

    self.state.client_hashes = {}
    urandom = rdf_paths.PathSpec(path='/dev/urandom', pathtype=rdf_paths.PathSpec.PathType.OS)
    for _ in range(self.args.file_limit):
        self.CallClient(standard.CopyPathToFile, offset=0, length=((2 * 1024) * 1024), src_path=urandom, dest_dir='', gzip_output=False, lifetime=600, next_state='HashFile')
