Skip to content

Commit a8c3a76

Browse files
authored
Merge pull request #1172 from eclipse-iceoryx/iox-#27-integration-tests
iox-#27 integration tests
2 parents 2b9ab0d + 228ea5c commit a8c3a76

File tree

9 files changed

+538
-11
lines changed

9 files changed

+538
-11
lines changed

iceoryx_posh/include/iceoryx_posh/internal/popo/building_blocks/chunk_distributor.inl

+1
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ inline uint64_t ChunkDistributor<ChunkDistributorDataType>::deliverToAllStoredQu
158158
}
159159
else
160160
{
161+
++numberOfQueuesTheChunkWasDeliveredTo;
161162
ChunkQueuePusher_t(queue.get()).lostAChunk();
162163
}
163164
}

iceoryx_posh/include/iceoryx_posh/internal/roudi/port_manager.hpp

+2
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,8 @@ class PortManager
202202

203203
void publishServiceRegistry() const noexcept;
204204

205+
const ServiceRegistry& serviceRegistry() const noexcept;
206+
205207
private:
206208
RouDiMemoryInterface* m_roudiMemoryInterface{nullptr};
207209
PortPool* m_portPool{nullptr};

iceoryx_posh/source/roudi/port_manager.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,10 @@ void PortManager::publishServiceRegistry() const noexcept
10451045
.or_else([](auto&) { LogWarn() << "Could not allocate a chunk for the service registry!"; });
10461046
}
10471047

1048+
const ServiceRegistry& PortManager::serviceRegistry() const noexcept
1049+
{
1050+
return m_serviceRegistry;
1051+
}
10481052

10491053
void PortManager::addPublisherToServiceRegistry(const capro::ServiceDescription& service) noexcept
10501054
{

0 commit comments

Comments
 (0)