Commit 2642a230 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

RGWHTTP::process does not accept optional_yield yet

parent 34845ee4
...@@ -80,7 +80,7 @@ diff -uNr ceph-14.2.1/src/test/rgw/test_http_manager.cc ceph-14.2.1-fix_rgw_sync ...@@ -80,7 +80,7 @@ diff -uNr ceph-14.2.1/src/test/rgw/test_http_manager.cc ceph-14.2.1-fix_rgw_sync
+ const auto url = std::string{"http://127.0.0.1:"} + std::to_string(acceptor.local_endpoint().port()); + const auto url = std::string{"http://127.0.0.1:"} + std::to_string(acceptor.local_endpoint().port());
+ +
+ RGWHTTPClient client{g_ceph_context, "GET", url}; + RGWHTTPClient client{g_ceph_context, "GET", url};
+ EXPECT_EQ(-EAGAIN, RGWHTTP::process(&client, null_yield)); + EXPECT_EQ(-EAGAIN, RGWHTTP::process(&client));
+ +
+ server.join(); + server.join();
+} +}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment