]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/log: drop redundant test case 24716/head
authorIlya Dryomov <idryomov@gmail.com>
Mon, 22 Oct 2018 17:47:19 +0000 (19:47 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 22 Oct 2018 18:09:24 +0000 (20:09 +0200)
After the recent logging rework, ManyGatherLog and
ManyGatherLogStringAssign are identical barring the string.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/log/test.cc

index 8b66e9ddf316df76d32ea05bda3857086d7dc0c8..6096bcd9046fc98199655caa3503f271788e58b2 100644 (file)
@@ -124,27 +124,6 @@ TEST(Log, ManyGatherLog)
   log.stop();
 }
 
-TEST(Log, ManyGatherLogStringAssign)
-{
-  SubsystemMap subs;
-  subs.set_log_level(1, 20);
-  subs.set_gather_level(1, 10);
-  Log log(&subs);
-  log.start();
-  log.set_log_file("/tmp/big");
-  log.reopen_log_file();
-  for (int i=0; i<many; i++) {
-    int l = 10;
-    if (subs.should_gather(1, l)) {
-      MutableEntry e(l, 1);
-      e.get_ostream() << "this i a long stream asdf asdf asdf asdf asdf asdf asdf asdf asdf as fd";
-      log.submit_entry(std::move(e));
-    }
-  }
-  log.flush();
-  log.stop();
-}
-
 TEST(Log, ManyGatherLogStackSpillover)
 {
   SubsystemMap subs;