]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/test_socket: fix dispatch_sockets() unexpected exception 33482/head
authorluo rixin <luorixin@huawei.com>
Sat, 22 Feb 2020 09:57:46 +0000 (17:57 +0800)
committerluo rixin <luorixin@huawei.com>
Mon, 2 Mar 2020 12:16:24 +0000 (20:16 +0800)
commit02ae7abf168eebe4efea8ac601642c560c190d5c
tree5a552ce68f9e7cebd1495091c5125d65edee8ff2
parentdb0f3b5a1b91005c4485ae5985677b849f4ab898
test/test_socket: fix dispatch_sockets() unexpected exception

In the test test_unexpected_down(), there is client running on CPU0
and server runing on CPU1, the server maybe finished before the client
(client and other workloads share CPU0), so client couldn't read data
and throws "dispatch_sockets(): cb_client() got unexpected exception
std::system_error (error crimson::net:4, read eof)"

Signed-off-by: luo rixin <luorixin@huawei.com>
src/test/crimson/test_socket.cc