Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 697a4f70 authored by SIMONIN Matthieu's avatar SIMONIN Matthieu
Browse files

locust: save worker remote dir as well

parent 656e778a
No related branches found
No related tags found
No related merge requests found
......@@ -183,7 +183,7 @@ class Locust(Service):
We backup the remote working dir of the master.
"""
_backup_dir = _set_dir(backup_dir, self.backup_dir)
with actions(roles=self.master) as a:
with actions(roles=self.roles) as a:
a.archive(path=self.remote_working_dir, dest=f"/tmp/{self.bench_id}.tar.gz")
a.fetch(src=f"/tmp/{self.bench_id}.tar.gz", dest=str(_backup_dir))
......
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