Skip to content

Commit

Permalink
test_async_networkstack: fix unmatched create/delete file event
Browse files Browse the repository at this point in the history
Signed-off-by: Haomai Wang <[email protected]>
  • Loading branch information
yuyuyu101 committed Nov 9, 2016
1 parent 80a705c commit 9555b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/msgr/test_async_networkstack.cc
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ TEST_P(NetworkWorkerTest, ComplexTest) {
r = cli_socket.is_connected();
}
ASSERT_EQ(1, r);
center->delete_file_event(cli_socket.fd(), EVENT_READABLE);
center->delete_file_event(cli_socket.fd(), EVENT_WRITABLE);
}

const size_t message_size = 10240;
Expand Down

0 comments on commit 9555b6d

Please sign in to comment.