]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks: get the correct clone_dir for each client
authorXiubo Li <xiubli@redhat.com>
Thu, 17 Dec 2020 08:01:26 +0000 (16:01 +0800)
committerXiubo Li <xiubli@redhat.com>
Thu, 17 Dec 2020 12:38:48 +0000 (20:38 +0800)
The clone_dir will be overrided in the loop.

Fixes: https://tracker.ceph.com/issues/47439
Signed-off-by: Xiubo Li <xiubli@redhat.com>
qa/tasks/cram.py

index 85c1a61b9aaa8e376e561c3bfad62edb622337e7..fd17f4832b71aaff01ac7393ec7ac6251f4bfe0b 100644 (file)
@@ -115,6 +115,7 @@ def task(ctx, config):
             # ignore failure since more than one client may
             # be run on a host, and the client dir should be
             # non-empty if the test failed
+            clone_dir = '{tdir}/clone.{role}'.format(tdir=testdir, role=client)
             remote.run(
                 args=[
                     'rm', '-rf', '--',