eclipse-iceoryx / eclipse-iceoryx/iceoryx
VariantQueue does not implement setCapacity for FiFo_SingleProducerSingleConsumer
- Dominant language
- C++
- Stars
- 2.2k
- Forks
- 492
- Avg merge
- 18h 57m
- Merged PRs (30d)
- 1
Description
## Required information
**Operating system:**
all
**Compiler version:**
all
**cmake flags:**
-DONE_TO_MANY_ONLY=ON
**Observed result or behaviour:**
running `./posh_moduletests --gtest_filter=PoshRuntime_test.GetMiddlewareSubscriberWithQueueFullPolicySetToBlockPublisherLeadsToBlockPublisher` results in a `SIGABRT`
**Expected result or behaviour:**
Test should pass
**Conditions where it occurred / Performed steps:**
From `variant_queu.inl`
```cpp
case VariantQueueTypes::FiFo_SingleProducerSingleConsumer:
{
/// @todo must be implemented for FiFo
assert(false);
return false;
}
```
Contributor guide
Research direction
Start in variant_queu.inl at the FiFo_SingleProducerSingleConsumer branch of setCapacity, then run posh_moduletests with the PoshRuntime_test.GetMiddlewareSubscriberWithQueueFullPolicySetToBlockPublisherLeadsToBlockPublisher filter. The work is done when this queue type no longer aborts and the test passes with -DONE_TO_MANY_ONLY=ON.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100