diff options
author | myoungwon oh <ohmyoungwon@gmail.com> | 2021-04-18 03:03:54 +0200 |
---|---|---|
committer | myoungwon oh <ohmyoungwon@gmail.com> | 2021-04-18 03:13:05 +0200 |
commit | eb579bb48ad7bb7749e03edecff471f8b4a870d2 (patch) | |
tree | 61861ecea00ff71365897925f2d3d91b13afaf24 /src/test/librados/tier_cxx.cc | |
parent | Merge PR #40577 into master (diff) | |
download | ceph-eb579bb48ad7bb7749e03edecff471f8b4a870d2.tar.xz ceph-eb579bb48ad7bb7749e03edecff471f8b4a870d2.zip |
test: extend retry timeout from 150s to 300s
Manifest objects try to recover their clones if the clones
are unreadable when calculating ref. count.
In some case, the recovery takes more time than 150s,
so this commit extends time from 150s to 300s.
Fixes: https://tracker.ceph.com/issues/50352
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
Diffstat (limited to 'src/test/librados/tier_cxx.cc')
-rw-r--r-- | src/test/librados/tier_cxx.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/librados/tier_cxx.cc b/src/test/librados/tier_cxx.cc index b12d09e51da..cc82d32b5a3 100644 --- a/src/test/librados/tier_cxx.cc +++ b/src/test/librados/tier_cxx.cc @@ -179,12 +179,12 @@ void is_intended_refcount_state(librados::IoCtx& src_ioctx, } dst_refcount = refs.count(); } - for (int tries = 0; tries < 10; ++tries) { + for (int tries = 0; tries < 15; ++tries) { r = cls_cas_references_chunk(src_ioctx, src_oid, dst_oid); if (r == -ENOENT || r == -ENOLINK) { src_refcount = 0; } else if (r == -EBUSY) { - sleep(15); + sleep(20); continue; } else { src_refcount = r; |