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 failing test due to mCODE profile names changing #60

Merged
merged 3 commits into from
Jul 14, 2023
Merged

Conversation

dehall
Copy link
Contributor

@dehall dehall commented Jun 16, 2023

Summary

Just a quick update to one of the unit tests so that it passes. mCODE 3.0.0-ballot has been released recently, and one of the changes from v2 to v3 is renaming the "Comorbidities Parent" profile to just "Comorbidities". Fetching an IG without a specific version will get the "current", so it's now fetching 3.0.0.
I removed that one assertion that checks that the "comorbidities-parent" profile was loaded so the test now passes.
I could have added more assertions but since it's already only checking a subset I figured this is good enough.

I also noticed the tests were failing on CI without a useful error message, which I suspect was due to out of memory errors. I set heap memory available for tests to 6 GB since that seemed to be enough to make it pass locally. (Also the same size we set for Synthea)

I also updated the JUnit dependency to make unit tests work in Eclipse. There should be no other noticeable impact from that change.

Testing Guidance

./gradlew test - all tests should pass, locally and on CI

@dehall dehall merged commit a9206f0 into master Jul 14, 2023
@dehall dehall deleted the test_fix branch July 14, 2023 12:53
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.

2 participants