summaryrefslogtreecommitdiffstats
path: root/src/test/rgw/test_http_manager.cc
diff options
context:
space:
mode:
authorYehuda Sadeh <yehuda@redhat.com>2017-08-28 14:56:19 +0200
committerYehuda Sadeh <yehuda@redhat.com>2018-04-10 17:05:37 +0200
commitaa4fd878ad682b3e8740aa5b2a48f8c7c06a0382 (patch)
treef1e10c9ca9367ff73bc7317b6a6be1784f9cbe85 /src/test/rgw/test_http_manager.cc
parentrgw: create global http manager (diff)
downloadceph-aa4fd878ad682b3e8740aa5b2a48f8c7c06a0382.tar.xz
ceph-aa4fd878ad682b3e8740aa5b2a48f8c7c06a0382.zip
rgw: http client, simplify interfaces
work towards removal of duplicate synchronous api Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
Diffstat (limited to 'src/test/rgw/test_http_manager.cc')
-rw-r--r--src/test/rgw/test_http_manager.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/rgw/test_http_manager.cc b/src/test/rgw/test_http_manager.cc
index bfbcad72999..73626a7d9cf 100644
--- a/src/test/rgw/test_http_manager.cc
+++ b/src/test/rgw/test_http_manager.cc
@@ -38,8 +38,8 @@ TEST(HTTPManager, SignalThread)
constexpr size_t num_requests = max_requests + 1;
for (size_t i = 0; i < num_requests; i++) {
- RGWHTTPClient client{cct};
- http.add_request(&client, "PUT", "http://127.0.0.1:80");
+ RGWHTTPClient client{cct, "PUT", "http://127.0.0.1:80"};
+ http.add_request(&client);
}
}