Skip to content

TestObjectSignalHandling: fix/improve#313

Merged
guelfey merged 2 commits intogodbus:masterfrom
kolyshkin:fix-TestObjectSignalHandling
Feb 27, 2022
Merged

TestObjectSignalHandling: fix/improve#313
guelfey merged 2 commits intogodbus:masterfrom
kolyshkin:fix-TestObjectSignalHandling

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 <[email protected]>
 - embed fetchSignal into checkSignal;
 - remove t and timeout arguments;
 - add t.Helper so that errors show correct line number;

Signed-off-by: Kir Kolyshkin <[email protected]>
@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