]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw/d4n: removing fmt related code as it is pr-65284 wip-rgw-d4n-centos9-build-failure
authorPritha Srivastava <prsrivas@redhat.com>
Thu, 28 Aug 2025 09:13:58 +0000 (14:43 +0530)
committerPritha Srivastava <prsrivas@redhat.com>
Thu, 28 Aug 2025 13:42:43 +0000 (19:12 +0530)
causing centos 9 build failure and is debug
only code.

Signed-off-by: Pritha Srivastava <prsrivas@redhat.com>
src/test/rgw/test_d4n_directory.cc

index 2f7c436628e657e553b24ace76ef99e573c57076..d41b389bee237e7257554492437272f012300075 100644 (file)
@@ -791,14 +791,6 @@ void foo(T t, std::vector<std::vector<std::string>>& responses)
     });
 }
 
-template <> struct fmt::formatter<boost::redis::resp3::type> : fmt::ostream_formatter {};
-template <> struct fmt::formatter<boost::redis::resp3::node> : fmt::formatter<std::string> {
-    template <typename FormatContext> auto format(boost::redis::resp3::node const& node, FormatContext& ctx) const {
-        return format_to(ctx.out(), "({}@{}, {}, {})", node.data_type, node.depth, node.value,
-                         node.aggregate_size);
-    }
-};
-
 TEST_F(BlockDirectoryFixture, Pipeline)
 {
   boost::asio::spawn(io, [this] (boost::asio::yield_context yield) {
@@ -850,8 +842,6 @@ TEST_F(BlockDirectoryFixture, Pipeline)
       boost::redis::generic_response resp;
       conn->async_exec(req, resp, yield[ec]);
       ASSERT_EQ((bool)ec, false);
-      //debug only
-      fmt::print("generic: {}\n", resp.value());
 
       //1st node gives data type and number of elements of that type
       //if data type is aggrgate, like array, map, then next n elements will be values of the aggregate type