]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_rados: make long name ~300 chars, (not ~800) 8600/head
authorSage Weil <sage@redhat.com>
Wed, 13 Apr 2016 21:50:52 +0000 (17:50 -0400)
committerSage Weil <sage@redhat.com>
Thu, 14 Apr 2016 13:42:39 +0000 (09:42 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/osd/TestRados.cc

index 1833828715e942ba7f0dd994aaf522851fdf9b86..57bf3e5a589f81f9fcc8e0f91c064f6aa4adf86c 100644 (file)
@@ -56,10 +56,7 @@ public:
       oid << m_op;
       if (m_op % 2) {
        // make it a long name
-       oid << " ";
-       for (unsigned i = 0; i < 300; ++i) {
-         oid << i;
-       }
+       oid << " " << string(300, 'o');
       }
       cout << m_op << ": write initial oid " << oid.str() << std::endl;
       context.oid_not_flushing.insert(oid.str());