projects
/
ceph.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a1dc38
)
test/crimson: msgr should wait before shutdown
author
Yingxin Cheng
<yingxincheng@gmail.com>
Tue, 19 Mar 2019 14:20:12 +0000
(22:20 +0800)
committer
Kefu Chai
<kchai@redhat.com>
Fri, 5 Apr 2019 03:21:19 +0000
(11:21 +0800)
test_concurrent_dispatch() should wait for server->wait() before
shutting down its messengers.
Signed-off-by: Yingxin Cheng <yingxincheng@gmail.com>
src/test/crimson/test_messenger.cc
patch
|
blob
|
history
diff --git
a/src/test/crimson/test_messenger.cc
b/src/test/crimson/test_messenger.cc
index 4115773fa2b525328f304ac2d7a9f9ed18400c9e..0601ad63da7a2eb600985cffcb03976988a29d6b 100644
(file)
--- a/
src/test/crimson/test_messenger.cc
+++ b/
src/test/crimson/test_messenger.cc
@@
-405,7
+405,7
@@
static seastar::future<> test_concurrent_dispatch(bool v2)
(*conn)->send(MessageRef{new MPing, false});
(*conn)->send(MessageRef{new MPing, false});
}).then([server] {
- server->wait();
+
return
server->wait();
}).finally([client] {
logger().info("client shutdown...");
return client->msgr->shutdown();