mirror of
https://github.com/ceph/ceph
synced 2025-02-24 03:27:10 +00:00
test/crimson: Use crimson::make_message() in test_alien_echo
Instead of ceph::make_message() because conn::send() in crimson expects a std::unique_ptr and not boost::intrusive_ptr Signed-off-by: Amnon Hanuhov <ahanukov@redhat.com>
This commit is contained in:
parent
c9a96891a9
commit
84265a695b
@ -49,7 +49,7 @@ struct Server {
|
||||
{
|
||||
std::cout << "server got ping " << *m << std::endl;
|
||||
// reply with a pong
|
||||
return c->send(make_message<MPing>()).then([this] {
|
||||
return c->send(crimson::make_message<MPing>()).then([this] {
|
||||
++count;
|
||||
on_reply.signal();
|
||||
return seastar::now();
|
||||
@ -214,7 +214,7 @@ seastar_echo(const entity_addr_t addr, echo_role role, unsigned count)
|
||||
return seastar::do_until(
|
||||
[&disp,count] { return disp.count >= count; },
|
||||
[&disp,conn] {
|
||||
return conn->send(make_message<MPing>()).then([&] {
|
||||
return conn->send(crimson::make_message<MPing>()).then([&] {
|
||||
return disp.on_reply.wait();
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user