From f474c7fdbe937a07451ecef246e43e3f46b7010d Mon Sep 17 00:00:00 2001 From: Mark Kogan Date: Mon, 6 Feb 2023 14:05:51 +0200 Subject: [PATCH] qa: d3n: fix test failure when "inline_data": false Fixes: https://tracker.ceph.com/issues/58552 Signed-off-by: Mark Kogan --- qa/workunits/rgw/test_rgw_datacache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/rgw/test_rgw_datacache.py b/qa/workunits/rgw/test_rgw_datacache.py index f9cb136495a..2dda61f18d0 100755 --- a/qa/workunits/rgw/test_rgw_datacache.py +++ b/qa/workunits/rgw/test_rgw_datacache.py @@ -186,7 +186,7 @@ def main(): # list the files in the cache dir for troubleshooting out = exec_cmd('ls -l %s' % (cache_dir)) # get name of cached object and check if it exists in the cache - out = exec_cmd('find %s -name "*%s*"' % (cache_dir, cached_object_name)) + out = exec_cmd('find %s -name "*%s1"' % (cache_dir, cached_object_name)) cached_object_path = get_cmd_output(out) log.debug("Path of file in datacache is: %s", cached_object_path) out = exec_cmd('basename %s' % (cached_object_path)) -- 2.47.3