mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
TestAsyncDriver: Fix typo in ceph_test_async_driver
Fix: #11058 Signed-off-by: Haomai Wang <haomaiwang@gmail.com>
This commit is contained in:
parent
3a1ba9368f
commit
84f05c0f39
@ -251,8 +251,8 @@ TEST(EventCenterTest, FileEventExpansion) {
|
||||
center.init(100);
|
||||
EventCallbackRef e(new FakeEvent());
|
||||
for (int i = 0; i < 10000; i++) {
|
||||
(void)::socket(AF_INET, SOCK_STREAM, 0);
|
||||
center.create_file_event(i, EVENT_READABLE, e);
|
||||
int sd = ::socket(AF_INET, SOCK_STREAM, 0);
|
||||
center.create_file_event(sd, EVENT_READABLE, e);
|
||||
sds.push_back(::socket(AF_INET, SOCK_STREAM, 0));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user