Fix unit tests to adapt to the epoll API
authorGabriel Braga <gabriel.braga@intra2net.com>
Tue, 9 Apr 2024 15:36:51 +0000 (17:36 +0200)
committerGabriel Braga <gabriel.braga@intra2net.com>
Fri, 26 Apr 2024 12:43:19 +0000 (14:43 +0200)
commit7aafd22d0ef6c6ee84b09aaa6dc3beb1114baf4c
tree07905156b0af4e17c2c7fb6ee3f4d0fe281d6665
parent4d0ed822e39b4a190cac779f2a39df01b557741a
Fix unit tests to adapt to the epoll API

Previously the unit tests runs worked with the select API, after
changes to the epoll API the tests stopped running, this commit
fix and adapt them to the new API.

Note: This commit does some changes to timeouts and to some ports
on comm.cpp because the previous port was already in use by some
process on the developer's computer.
15 files changed:
src/socket_handler.cpp
src/socket_server.cpp
test/callback.cpp
test/cmdgroup.cpp
test/comm.cpp
test/getsocket.cpp
test/hello.cpp
test/newserver.cpp
test/reconnect.cpp
test/reentrant.cpp
test/serialize.cpp
test/simplecmd.cpp
test/test_fixtures.hxx
test/timeout.cpp
test/wrapper.cpp