From: Samuel Just Date: Thu, 10 Mar 2016 23:38:26 +0000 (-0800) Subject: TestRados: make half the objects have long names X-Git-Tag: v0.94.8~51^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ec74c1281e641a45de039f2c168b50902e514729;p=ceph.git TestRados: make half the objects have long names Signed-off-by: Samuel Just (cherry picked from commit 8b64432d07a14df9dfd2ed1314783de16530b1d1) --- diff --git a/src/test/osd/TestRados.cc b/src/test/osd/TestRados.cc index e8eb0db9df0..dd03d5f516d 100644 --- a/src/test/osd/TestRados.cc +++ b/src/test/osd/TestRados.cc @@ -52,6 +52,13 @@ public: if (m_op <= m_objects) { stringstream oid; oid << m_op; + if (m_op % 2) { + // make it a long name + oid << " "; + for (unsigned i = 0; i < 300; ++i) { + oid << i; + } + } cout << m_op << ": write initial oid " << oid.str() << std::endl; context.oid_not_flushing.insert(oid.str()); if (m_ec_pool) {