diff --git a/config/DDS_ENABLER_CONFIGURATION.yaml b/config/DDS_ENABLER_CONFIGURATION.yaml index d06934f0a8..5772aa36ea 100644 --- a/config/DDS_ENABLER_CONFIGURATION.yaml +++ b/config/DDS_ENABLER_CONFIGURATION.yaml @@ -11,6 +11,12 @@ dds: blocklist: - name: "add_blocked_topics_list_here" +topics: + name: "*" + qos: + durability: TRANSIENT_LOCAL + history-depth: 5 + # DDS Enabler configuration ddsenabler: diff --git a/test/functionalTest/ftClient/NgsildPublisher.cpp b/test/functionalTest/ftClient/NgsildPublisher.cpp index 8974648719..530c9a5583 100644 --- a/test/functionalTest/ftClient/NgsildPublisher.cpp +++ b/test/functionalTest/ftClient/NgsildPublisher.cpp @@ -127,8 +127,8 @@ bool NgsildPublisher::init(const char* topicName) wqos.reliability().kind = eprosima::fastdds::dds::RELIABLE_RELIABILITY_QOS; wqos.durability().kind = eprosima::fastdds::dds::TRANSIENT_LOCAL_DURABILITY_QOS; -// wqos.history().kind = eprosima::fastdds::dds::KEEP_LAST_HISTORY_QOS; -// wqos.history().depth = 5; + wqos.history().kind = eprosima::fastdds::dds::KEEP_LAST_HISTORY_QOS; + wqos.history().depth = 5; writer_ = publisher_->create_datawriter(topic_, wqos, &listener_); if (writer_ == nullptr)