summaryrefslogtreecommitdiffstats
path: root/src/test/messenger
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2017-03-08 18:14:08 +0100
committerGitHub <noreply@github.com>2017-03-08 18:14:08 +0100
commitfb5b59fc394167cab5808ef147d291152c4ce5cd (patch)
tree61cd3f8292c1b255403f8a47bcb44e1c6dc104a8 /src/test/messenger
parentMerge pull request #13078 from zhangsw/fix-rgw-setacl-bug (diff)
parentmsg/Messenger: drop useless 'supported' arg to Policy ctor (diff)
downloadceph-fb5b59fc394167cab5808ef147d291152c4ce5cd.tar.xz
ceph-fb5b59fc394167cab5808ef147d291152c4ce5cd.zip
Merge pull request #13785 from liewegas/wip-cleanup-features
msg: no need to pass supported features to Messenger::Policy ctor Reviewed-by: Haomai Wang <haomai@xsky.com>
Diffstat (limited to 'src/test/messenger')
-rw-r--r--src/test/messenger/simple_client.cc2
-rw-r--r--src/test/messenger/simple_server.cc2
-rw-r--r--src/test/messenger/xio_client.cc2
-rw-r--r--src/test/messenger/xio_server.cc2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/test/messenger/simple_client.cc b/src/test/messenger/simple_client.cc
index 6fb01e9a9eb..7b37921b04f 100644
--- a/src/test/messenger/simple_client.cc
+++ b/src/test/messenger/simple_client.cc
@@ -110,7 +110,7 @@ int main(int argc, const char **argv)
// enable timing prints
messenger->set_magic(MSG_MAGIC_TRACE_CTR);
- messenger->set_default_policy(Messenger::Policy::lossy_client(0, 0));
+ messenger->set_default_policy(Messenger::Policy::lossy_client(0));
string dest_str = "tcp://";
dest_str += addr;
diff --git a/src/test/messenger/simple_server.cc b/src/test/messenger/simple_server.cc
index df94701e535..a10cdc5472c 100644
--- a/src/test/messenger/simple_server.cc
+++ b/src/test/messenger/simple_server.cc
@@ -82,7 +82,7 @@ int main(int argc, const char **argv)
// enable timing prints
messenger->set_magic(MSG_MAGIC_TRACE_CTR);
messenger->set_default_policy(
- Messenger::Policy::stateless_server(CEPH_FEATURES_ALL, 0));
+ Messenger::Policy::stateless_server(0));
r = messenger->bind(bind_addr);
if (r < 0)
diff --git a/src/test/messenger/xio_client.cc b/src/test/messenger/xio_client.cc
index da132060dc8..35218cbb258 100644
--- a/src/test/messenger/xio_client.cc
+++ b/src/test/messenger/xio_client.cc
@@ -131,7 +131,7 @@ int main(int argc, const char **argv)
if (n_dsize)
(void) static_cast<XioMessenger*>(messenger)->pool_hint(n_dsize);
- messenger->set_default_policy(Messenger::Policy::lossy_client(0, 0));
+ messenger->set_default_policy(Messenger::Policy::lossy_client(0));
string dest_str = "tcp://";
dest_str += addr;
diff --git a/src/test/messenger/xio_server.cc b/src/test/messenger/xio_server.cc
index a5459a55e20..d50737b924b 100644
--- a/src/test/messenger/xio_server.cc
+++ b/src/test/messenger/xio_server.cc
@@ -97,7 +97,7 @@ int main(int argc, const char **argv)
MSG_MAGIC_TRACE_CTR /* timing prints */);
messenger->set_default_policy(
- Messenger::Policy::stateless_server(CEPH_FEATURES_ALL, 0));
+ Messenger::Policy::stateless_server(0));
r = messenger->bind(bind_addr);
if (r < 0)