From: myoungwon oh Date: Mon, 30 Jan 2023 01:58:01 +0000 (+0900) Subject: qa/workunits/rados/test_dedup_tool.sh: reset dedup tier during tests X-Git-Tag: v17.2.7~334^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=d173405a8a1d4dba1efcaf23f074fc32ea7f9757;p=ceph.git qa/workunits/rados/test_dedup_tool.sh: reset dedup tier during tests Dedup_tier option needs to be reset whenever every test begins, because dedup_tier(dedup_chunk_pool) is deleted at the end of each test---if not, this causes error in case dedup_tier's pool id is changed. This commit adds a set command to refresh newly added dedup_tier pool id. fixes: https://tracker.ceph.com/issues/58587 cherry picked from commit b2534d90ec22341f42ca262a80613c20d8702b0e Signed-off-by: Myoungwon Oh --- diff --git a/qa/workunits/rados/test_dedup_tool.sh b/qa/workunits/rados/test_dedup_tool.sh index 85351f8a8061..ad38311ff840 100755 --- a/qa/workunits/rados/test_dedup_tool.sh +++ b/qa/workunits/rados/test_dedup_tool.sh @@ -250,6 +250,7 @@ function test_dedup_object() echo "There hiHI" > foo + $CEPH_TOOL osd pool set $POOL dedup_tier $CHUNK_POOL --yes-i-really-mean-it $RADOS_TOOL -p $POOL put foo ./foo sleep 2