eclipse-iceoryx / eclipse-iceoryx/iceoryx

VariantQueue does not implement setCapacity for FiFo_SingleProducerSingleConsumer

Open
#1,147 3 comments 0 reactions 0 assignees View on GitHub
bug
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.