-
Notifications
You must be signed in to change notification settings - Fork 43
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 #87, Unit test MID string format now 32bit #94
Fix #87, Unit test MID string format now 32bit #94
Conversation
CCB 2020-09-16 APPROVED |
While this appears to fix the case where v2 headers are used, it breaks v1 headers, where MID remains This is precisely why my original comment regarding checking full event text says its a bad idea to do. |
should we revert this merge then? |
See my recommended fix in #99. I pushed as a PR rather than a hotfix commit as it probably warrants a review, but IMO this is what we should have done in the first place. |
I'd vote to revert, rather than have a broken build, if you don't want to fast track #99. |
So this change works with nasa/cFE#880, such that it's always 0xFFFFFFFF, as stated in the description. Shouldn't be a broken build, no need to revert, just merge that change also? Although as an example, I'm fine with whatever fix people want to go with (#99 or whatever). This was just a simple update such that nasa/cFE#880 wouldn't break the build. |
Sorry, I didn't notice how nasa/cFE#880 was missed ... But we can do both. They are both still relevant anyway. I'd like to update sample_app to do format strings only, so it only changes whether it is a hotfix to make UT pass again or if it is just a normal update. There are just too many ways to get into trouble with full text compares. This should make all the event checking more future proof. |
Describe the contribution
Fix #87
With nasa/cFE#880, the format is now consistently 32 bit, fixed event string check to match.
Testing performed
Built unit tests with nasa/cFE#880, now passes
Expected behavior changes
Unit test pass
System(s) tested on
Additional context
None.
Third party code
None.
Contributor Info - All information REQUIRED for consideration of pull request
Jacob Hageman - NASA/GSFC