From d173405a8a1d4dba1efcaf23f074fc32ea7f9757 Mon Sep 17 00:00:00 2001 From: myoungwon oh Date: Mon, 30 Jan 2023 10:58:01 +0900 Subject: [PATCH] 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 --- qa/workunits/rados/test_dedup_tool.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.47.3