-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revamp the test_get_type_description_service. (#1095)
1. Make it more robust to the network taking time to do discovery. 2. Shorten the delay time when we expect things to fail. 3. Fix a possible leak during service_exists(), pointed out by valgrind. 4. Remove unnecessary heap allocations in service_exists() (we can just use the stack here). 5. Fix a definite leak during test teardown, where we were forgetting to fini the node_type_description_service. Signed-off-by: Chris Lalancette <[email protected]>
- Loading branch information
1 parent
7c1b387
commit 1a025c6
Showing
1 changed file
with
50 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters