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

Fix[CMakeLists.txt]: Remove -DBMQ_ENABLE_MSG_GROUPID from the build system #437

Merged
merged 2 commits into from
Oct 3, 2024

Conversation

pniedzielski
Copy link
Collaborator

Issue number of the reported bug or feature request: #426

Describe your changes
We do not ever want to build with this flag when releasing, and users often manage to enable this flag accidentally. Because message group IDs are not fully implemented, we remove this temporary definition. It can be added in later if we ever come back to this feature.

Testing performed
This change fixes the minimal example given in #426. I will let the CI run all the tests to ensure no breakage.

Additional context
Supersedes #433.

We do not ever want to build with this flag when releasing, and users
often manage to enable this flag accidentally.  Because message group
IDs are not fully implemented, we remove this temporary definition.  It
can be added in later if we ever come back to this feature.

Signed-off-by: Patrick M. Niedzielski <[email protected]>
@pniedzielski
Copy link
Collaborator Author

Looks like some of the unit tests fail without this flag. I will guard them with BMQ_ENABLE_MSG_GROUPID.

The unit tests currently assume that message group IDs are enabled, and
since have updated our build system to no longer enable this feature,
the unit tests now fail in CI.  This patch guards the message group ID
tests with preprocessor conditionals, disabling the parts of tests that
try to set and check message group IDs.  When `BMQ_ENABLE_MSG_GROUPID`
is set, these parts of the unit tests run again.

Signed-off-by: Patrick M. Niedzielski <[email protected]>
Copy link

@bmq-oss-ci bmq-oss-ci bot left a comment

Choose a reason for hiding this comment

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

Build 288 of commit 46d3e15 has completed with FAILURE

@pniedzielski pniedzielski merged commit 5a08de6 into bloomberg:main Oct 3, 2024
34 of 35 checks passed
@pniedzielski pniedzielski deleted the groupid-def branch January 8, 2025 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Build Area: Build System bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants