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

added intregration tests for AddPeer on Monitor API #654

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

engelmi
Copy link
Member

@engelmi engelmi commented Dec 7, 2023

Relates to: #187

Added integration tests to validate that the implemented API for adding and removing peers on monitors works as expected.

Note:
I am not 100% happy about the current solution for starting two processes (which are necessary to get different bus IDs), but couldn't come up with a more elegant solution - all other options tend to be even more complex.

@engelmi engelmi requested a review from mwperina December 7, 2023 10:07
@engelmi engelmi force-pushed the integration-tests-add-peer branch 5 times, most recently from b93efea to c684d9f Compare December 7, 2023 16:44
@engelmi engelmi marked this pull request as ready for review December 7, 2023 16:50
@dougsland
Copy link
Contributor

In general LGTM, just a question raised.

@engelmi engelmi force-pushed the integration-tests-add-peer branch 2 times, most recently from 02edc0d to e582661 Compare December 8, 2023 10:57
Copy link
Member

@mwperina mwperina left a comment

Choose a reason for hiding this comment

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

LGTM

@engelmi engelmi force-pushed the integration-tests-add-peer branch from e582661 to e00b829 Compare December 8, 2023 13:24
Relates to: eclipse-bluechi#187

Added integration tests to validate that the implemented
API for adding and removing peers on monitors works as
expected.

Signed-off-by: Michael Engel <[email protected]>
In order to prevent duplicated signals being sent to
a peer, the add peer method checks for the bus id and
rejects if it can be found. This also applies to the
owner of the monitor.

Signed-off-by: Michael Engel <[email protected]>
@engelmi engelmi force-pushed the integration-tests-add-peer branch from e00b829 to 90088e9 Compare December 8, 2023 18:33
@engelmi engelmi merged commit 92d1fc9 into eclipse-bluechi:main Dec 8, 2023
17 checks passed
@engelmi engelmi deleted the integration-tests-add-peer branch February 28, 2024 08:01
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.

3 participants