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

Updating tests in SAMRecordUnitTest to remove ambiguity #1696

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

lbergelson
Copy link
Member

…rimitives

* Tests were failing on debian systems due to ambiguity between
  boxed and unboxed number comparisons in SAMRecordUnitTest
  See #1695

* Fix the ambiguity by explictly converting values to the primitive types before comparing
@lbergelson
Copy link
Member Author

@pgrt I've applied your patch. I'm not sure why it's necessary on your system and not on mine, but if it helps I'm happy to include it. Thanks for submitting!

@pgrt
Copy link

pgrt commented Dec 17, 2023

Hi,

Thanks for taking it into account! In Debian we are getting ready for having openjdk-21 as the default jdk, perhaps the discussed error was triggered by the fact I built with this recent jdk.

Have a great week,

Pierre

@lbergelson lbergelson merged commit 1ca889d into master Dec 18, 2023
4 checks passed
@lbergelson lbergelson deleted the lb_fix_test_ambiguity branch December 18, 2023 18:12
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.

Ambiguous assertions in the tests
2 participants