Skip to content

Commit

Permalink
Refs #4932. Adapt to Fast RTPS release 1.7.2. (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
julionce authored and BorjaOuterelo committed Mar 14, 2019
1 parent 3190ed1 commit 6f05fcc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions test/integration/interaction/ClientInteraction.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const char* Client::topic_xml_ = "<dds>"
"</dds>";

const char* Client::publisher_xml_ = "";

const char* Client::datawriter_xml_ = "<dds>"
"<data_writer>"
"<topic>"
Expand All @@ -27,15 +28,17 @@ const char* Client::datawriter_xml_ = "<dds>"
"<kind>KEEP_LAST</kind>"
"<depth>10</depth>"
"</historyQos>"
"</topic>"
"<qos>"
"<durability>"
"<kind>TRANSIENT_LOCAL</kind>"
"</durability>"
"</topic>"
"</qos>"
"</data_writer>"
"</dds>";


const char* Client::subscriber_xml_ = "";

const char* Client::datareader_xml_ = "<dds>"
"<data_reader>"
"<topic>"
Expand All @@ -46,10 +49,12 @@ const char* Client::datareader_xml_ = "<dds>"
"<kind>KEEP_LAST</kind>"
"<depth>10</depth>"
"</historyQos>"
"</topic>"
"<qos>"
"<durability>"
"<kind>TRANSIENT_LOCAL</kind>"
"</durability>"
"</topic>"
"</qos>"
"</data_reader>"
"</dds>";

Expand Down
2 changes: 1 addition & 1 deletion test/integration/interaction/ClientInteraction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ class Client
void publish(uint8_t id, uint8_t stream_id_raw, size_t number)
{
//Used only for waiting the RTPS subscriber matching
(void) uxr_run_session_time(&session_, 50);
(void) uxr_run_session_time(&session_, 500);

uxrStreamId output_stream_id = uxr_stream_id_from_raw(stream_id_raw, UXR_OUTPUT_STREAM);
uxrObjectId datawriter_id = uxr_object_id(id, UXR_DATAWRITER_ID);
Expand Down

0 comments on commit 6f05fcc

Please sign in to comment.