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

[core] check-sample-applier-process-id-fix #1676

Closed
wants to merge 3 commits into from

Conversation

rex-schilasky
Copy link
Contributor

Description

Check process id for pub/sub, service, client separately in sample applier logic.

@rex-schilasky rex-schilasky added the cherry-pick-to-NONE Don't cherry-pick these changes label Jul 26, 2024
Copy link
Contributor

@KerstinKeller KerstinKeller left a comment

Choose a reason for hiding this comment

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

What about process samples? they also have a pid :)

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

@@ -96,14 +96,44 @@ namespace eCAL
return true;
}

bool CSampleApplier::IsSameProcess(const Registration::Sample& sample_)
Copy link
Contributor

Choose a reason for hiding this comment

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

warning: method 'IsSameProcess' can be made const [readability-make-member-function-const]

Suggested change
bool CSampleApplier::IsSameProcess(const Registration::Sample& sample_)
bool CSampleApplier::IsSameProcess(const Registration::Sample& sample_) const

ecal/core/src/registration/ecal_registration_sample_applier.h:56:

-       bool IsSameProcess(const Registration::Sample& sample_);
+       bool IsSameProcess(const Registration::Sample& sample_) const;

sleep times for registration and unregistration will be fixed later for all tests if active registration/unregistration is working as expected
@rex-schilasky rex-schilasky deleted the hotfix/loopback-check-sample-applier branch July 26, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-pick-to-NONE Don't cherry-pick these changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants