-
Notifications
You must be signed in to change notification settings - Fork 143
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
Running the tests on unmodified master gives printouts (diffs) #163
Comments
Update: Some more research showed that this was introduced by commit 2f9fa5c, the code was updated but not the tests. I will look into this some more. Added a comment: |
I think, i've found a solution. Unfortunately we have a regression in #151 which must be fixed first. |
I also have such a case ... I brought my branch of libmbus which is used to buil "node-mbus" to the current status of the master but my Node-mbs tests fail because also here I have one case where the "SlaveInformation.Id" field changes. I already have the "improved BCD decoding" commit in too! My Test use the following hex: And here link to test error https://travis-ci.org/github/Apollon77/node-mbus/jobs/703332935#L1114 Branch of libmbus is https://github.com/Apollon77/libmbus/commits/build-windows |
@Apollon77 Your hex contains 3E020005 which is actually slave id 500023E. I'm not sure it's allowed to have hex digits in a slave id and i don't know this comes from a real device. But make libmbus hiding this issue to make your tests succeed doesn't make sense to me. So please describe your expectations. |
@lategoodbye if it is that way I'm fine ... then this change is "simply because decoding was broken before" and so it is fixed now :-) I was just wondering which is right ... When I remember correctly I had that "data string" from a real device. Then I fix the test expectation! |
I consider this as fixed |
I created a Dockerfile to run the tests, and ran the tests on an unmodified master.
And I got a bunch of printouts (diff).
https://github.com/fredrik-sk/libmbus/runs/742450655?check_suite_focus=true
EDIT: Here is a copy of the printouts.
The text was updated successfully, but these errors were encountered: