From 8bcb63877c0303e2e2df927e03c7418d812d1597 Mon Sep 17 00:00:00 2001 From: Xiubo Li Date: Thu, 17 Dec 2020 16:01:26 +0800 Subject: [PATCH] qa/tasks: get the correct clone_dir for each client The clone_dir will be overrided in the loop. Fixes: https://tracker.ceph.com/issues/47439 Signed-off-by: Xiubo Li --- qa/tasks/cram.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/tasks/cram.py b/qa/tasks/cram.py index 85c1a61b9aaa8..fd17f4832b71a 100644 --- a/qa/tasks/cram.py +++ b/qa/tasks/cram.py @@ -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', '--', -- 2.39.5