Skip to content

Commit

Permalink
Refs #20165. Fixes after rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo González Moreno <ricardo@richiware.dev>
  • Loading branch information
richiware committed Sep 11, 2024
1 parent 6cbd197 commit ed5f6a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
12 changes: 1 addition & 11 deletions test/dds/xtypes/test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,17 +164,7 @@ async def run_command(test_case, process_args, timeout):
try:
await asyncio.wait_for(read_outputs(test_case, proc, num_lines), timeout)
except (TimeoutError, asyncio.TimeoutError):
pass

try:
proc.send_signal(signal.SIGINT)
time.sleep(1)
except Exception:
pass

try:
proc.kill()
except Exception:
logger.debug(" Timeout");
pass

return await proc.wait()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#include <gtest/gtest.h>

#include <fastdds/dds/log/Log.hpp>
#include <fastdds/rtps/attributes/RTPSParticipantAttributes.hpp>
#include <fastdds/rtps/participant/RTPSParticipant.hpp>
#include <fastdds/rtps/reader/RTPSReader.hpp>
#include <fastdds/rtps/RTPSDomain.hpp>
Expand Down Expand Up @@ -354,7 +355,8 @@ class TypeLookupServiceTests : public ::testing::Test
TypeLookupManager* tlm_;
MockTypeLookupReplyListener* reply_listener_;
MockTypeLookupRequestListener* request_listener_;
NetworkFactory network_factory_;
RTPSParticipantAttributes participant_attr_;
NetworkFactory network_factory_ {participant_attr_};
ReaderProxyData reader_proxy_{0, 0};
WriterProxyData writer_proxy_{0, 0};
NiceMock<RTPSParticipantImpl> participant_;
Expand Down

0 comments on commit ed5f6a3

Please sign in to comment.