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

TestObjectSignalHandling: fix/improve #313

Merged
merged 2 commits into from
Feb 27, 2022

Conversation

kolyshkin
Copy link
Contributor

Addressing 3ddbb1d#r805311303

Please see individual commits for details.

bus.Emit error was not checked, and since otherPath was invalid
(had a hyphen), the signal was never emitted.

Fix both issues.

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
 - embed fetchSignal into checkSignal;
 - remove t and timeout arguments;
 - add t.Helper so that errors show correct line number;

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin
Copy link
Contributor Author

@guelfey PTAL

Copy link
Member

@guelfey guelfey left a comment

Choose a reason for hiding this comment

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

Thanks!

@guelfey guelfey merged commit e523abc into godbus:master Feb 27, 2022
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.

2 participants