From ad6a9e537f344b1954c07c746ddcdd8f3e2e824e Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Thu, 1 Aug 2013 17:08:01 -0700 Subject: [PATCH] rgw: ignore exit status when removing base apache dir subdirs have already been removed, and this only needs to succeed once per host. Signed-off-by: Josh Durgin --- teuthology/task/rgw.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/teuthology/task/rgw.py b/teuthology/task/rgw.py index a87cdd6df2628..4088c43d846bb 100644 --- a/teuthology/task/rgw.py +++ b/teuthology/task/rgw.py @@ -53,13 +53,10 @@ def create_dirs(ctx, config): for client in config.iterkeys(): ctx.cluster.only(client).run( args=[ - 'test', '-d', - '{tdir}/apache'.format(tdir=testdir), - run.Raw('&&'), 'rmdir', '{tdir}/apache'.format(tdir=testdir), - run.Raw(';'), ], + check_status=False, # only need to remove once per host ) -- 2.39.5