mirror of
https://github.com/ceph/ceph
synced 2025-03-06 16:28:28 +00:00
qa/tasks/autotest: use remote.write_file
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
This commit is contained in:
parent
bdb3c8a23d
commit
ba4aff144e
@ -120,8 +120,7 @@ def _run_tests(testdir, remote, role, tests):
|
||||
id=id_,
|
||||
)
|
||||
control = '{tdir}/control.{tag}'.format(tdir=testdir, tag=tag)
|
||||
teuthology.write_file(
|
||||
remote=remote,
|
||||
remote.write_file(
|
||||
path=control,
|
||||
data='import json; data=json.loads({data!r}); job.run_test(**data)'.format(
|
||||
data=json.dumps(dict(
|
||||
|
Loading…
Reference in New Issue
Block a user