]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph_test_objectstore: less verbose
authorSage Weil <sage@redhat.com>
Fri, 27 Nov 2015 16:07:36 +0000 (11:07 -0500)
committerSage Weil <sage@redhat.com>
Fri, 1 Jan 2016 18:06:53 +0000 (13:06 -0500)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/store_test.cc

index e1fc44616f0e088136e26dbaa02d07b41823d5ae..5ed2bf974865bea7d24199c04a7ea0f62a298df1 100644 (file)
@@ -1636,7 +1636,7 @@ public:
     set<ghobject_t, ghobject_t::BitwiseComparator> objects_set, objects_set2;
     ghobject_t next, current;
     while (1) {
-      cerr << "scanning..." << std::endl;
+      //cerr << "scanning..." << std::endl;
       int r = store->collection_list(cid, current, ghobject_t::get_max(),
                                     true, 100,
                                     &objects, &next);
@@ -1771,11 +1771,11 @@ TEST_P(StoreTest, Synthetic) {
   SyntheticWorkloadState test_obj(store.get(), &gen, &rng, &osr, cid);
   test_obj.init();
   for (int i = 0; i < 1000; ++i) {
-    if (!(i % 10)) cerr << "seeding object " << i << std::endl;
+    if (!(i % 500)) cerr << "seeding object " << i << std::endl;
     test_obj.touch();
   }
-  for (int i = 0; i < 10000; ++i) {
-    if (!(i % 10)) {
+  for (int i = 0; i < 100000; ++i) {
+    if (!(i % 1000)) {
       cerr << "Op " << i << std::endl;
       test_obj.print_internal_state();
     }
@@ -1815,7 +1815,7 @@ TEST_P(StoreTest, AttrSynthetic) {
     test_obj.touch();
   }
   for (int i = 0; i < 10000; ++i) {
-    if (!(i % 10)) {
+    if (!(i % 100)) {
       cerr << "Op " << i << std::endl;
       test_obj.print_internal_state();
     }