Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iox-#341 implemented condition variable cleanup in waitset destructor #443

Merged

Conversation

elfenpiff
Copy link
Contributor

Signed-off-by: Christian Eltzschig me@elchris.org

Pre-Review Checklist for the PR Author

  1. Branch follows the naming format (iox-#123-this-is-a-branch)
  2. Commits messages are according to this guideline
    • Commit messages have the issue ID (iox-#123 commit text)
    • Commit messages are signed (git commit -s)
    • Commit author matches Eclipse Contributor Agreement (and ECA is signed)
  3. Update the PR title
    • Follow the same conventions as for commit messages
    • Link to the relevant issue
  4. Relevant issues are linked
  5. Add sensible notes for the reviewer
  6. All checks have passed
  7. Assign PR to reviewer

Notes for Reviewer

Checklist for the PR Reviewer

  • Commits are properly organized and messages are according to the guideline
  • Code according to our coding style and naming conventions
  • Unit tests have been written for new behavior
  • Public API changes are documented via doxygen
  • Copyright owner are updated in the changed files
  • PR title describes the changes

Post-review Checklist for the PR Author

  1. All open points are addressed and tracked via issues

Post-review Checklist for the Eclipse Committer

  1. All checkboxes in the PR checklist are checked or crossed out
  2. Merge

References

…tset destructor

Signed-off-by: Christian Eltzschig <me@elchris.org>
@@ -49,7 +49,7 @@ class iox_user_trigger_test : public Test
iox_user_trigger_storage_t m_sutStorage;
iox_user_trigger_t m_sut;

ConditionVariableData m_condVar;
ConditionVariableData m_condVar{"Horscht"};
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😁👍


auto interfacePointer = m_portManager->acquireInterfacePortData(iox::capro::Interfaces::INTERNAL, "itfPenguin");
EXPECT_THAT(interfacePointer, Eq(nullptr));
EXPECT_TRUE(errorHandlerCalled);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in the PublisherOverflow the correct error code is also tested. Shouldn't this be done here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not possible since this returns just a pointer and not an expected. There is a todo in the code to change this.

{
std::vector<iox::popo::ConditionVariableData*> condVarContainer;

std::string process = "HypnoToadForEver";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all glory to the hypnotoad

@elfenpiff elfenpiff merged commit 9900067 into eclipse-iceoryx:master Dec 17, 2020
@elfenpiff elfenpiff deleted the iox-#341-waitset-cond-var-cleanup branch December 17, 2020 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants