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

Issue994 unit tests broken and failing alot (but weirdly not always.) #995

Merged
merged 2 commits into from
Mar 25, 2024

Conversation

petersilva
Copy link
Contributor

fix #994

I'm puzzled about the unit tests. I thought they were working occasionally. and looking
at the history of results they seem to succeed once in a while. I started running them manually
to see why they were failing often, and found a bunch of problems. Fixed what I could figure out easily.

The most elaborate assertions were failing, and I think it is because they are asserting things that just aren't true... the failed tests don't reflect anything wrong with the classes...

…to Options, commented out some tests that do not work, even though the classes are fine
@petersilva
Copy link
Contributor Author

@gcglinton I thought I'd invite you to review in case the tests I had to disable are obvious to you. If they aren't feel free to ignore. Thanks!

@petersilva petersilva changed the title Issue994 Issue994 unit tests broken and failing alot (but weirdly not always.) Mar 23, 2024
@petersilva petersilva merged commit d20db32 into development Mar 25, 2024
58 of 70 checks passed
@gcglinton
Copy link
Contributor

The change to the message generation for these tests is a good one

I wrote the asserts/tests based on the code I could decipher, and assumptions I had made (like apparently using v2 message formats?). If those assumptions were wrong, then obviously the tests are also wrong.

Coverage doesn't seem to be affected, so I guess all is well.

Also, you've already merged it!

@petersilva petersilva deleted the issue994 branch May 7, 2024 17:52
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.

unit tests broken.
2 participants