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

Avoid logWarning when environment file filename is empty [13302] #2365

Merged
merged 4 commits into from
Dec 21, 2021

Conversation

EduPonz
Copy link

@EduPonz EduPonz commented Dec 20, 2021

This PR avoids a logWarning that was issued whenever DomainParticipantFactory::load_profiles() was called for the first time without setting FASTDDS_ENVIRONMENT_FILE environment variable or setting it to "". It also adds a regression test and a test that checks that the logWarning is indeed issued if FASTDDS_ENVIRONMENT_FILE is set to an non-existing file.

Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
@EduPonz EduPonz requested a review from JLBuenoLopez December 20, 2021 14:04
@EduPonz EduPonz added this to the v2.5.0 milestone Dec 20, 2021
test/blackbox/common/BlackboxTestsPubSubBasic.cpp Outdated Show resolved Hide resolved
test/blackbox/common/BlackboxTestsPubSubBasic.cpp Outdated Show resolved Hide resolved
test/blackbox/common/BlackboxTestsPubSubBasic.cpp Outdated Show resolved Hide resolved
test/blackbox/common/mock/BlackboxMockConsumer.h Outdated Show resolved Hide resolved
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Signed-off-by: Eduardo Ponz <eduardoponz@eprosima.com>
Copy link
Member

@MiguelCompany MiguelCompany left a comment

Choose a reason for hiding this comment

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

LGTM

@MiguelCompany MiguelCompany merged commit 91c7380 into master Dec 21, 2021
@MiguelCompany MiguelCompany deleted the hotfix/env-file-empty-warning branch December 21, 2021 11: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.

2 participants