Skip to content
Snippets Groups Projects
Commit 55dca76a authored by Boris Feld's avatar Boris Feld
Browse files

Add a sync call after rsync to avoid Disk IO wait to impact results

parent 2c54bebc
No related branches found
No related tags found
No related merge requests found
......@@ -184,6 +184,9 @@
# called for each repeat...
self._single_execute(['rsync', '-aH', '--delete', '{}/'.format(self.clone_path),
self.tmp_clone_path])
# Wait for everything to be written on disk to avoid Disk IO wait to
# impact performances metrics
self._single_execute(['sync'])
def time_push(self, repo_name, strip, revset):
cmd = [self.hgpath, '--cwd', self.repo_path, 'push', '-f',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment