Skip to content

Workflow: Unit test PlanDefinitionProcessorJavaTest.testOpioidRec10PatientView fails consistently #1890

Open

Description

Describe the bug
Im not sure why this has started appearing, but it seems like the commit 9fe7c81 to Bump CQL Translator/Evaluator to 2.4 (merged in January) is now causing this test: PlanDefinitionProcessorJavaTest.testOpioidRec10PatientView to fail both on my local machine, and on Kokoro. I used git bisect to determine that commit was the culprit, as before that commit the test passes on my machine.

The error I am getting is an assertion error:

contained[0].action[0].description
Expected: <br/>*Positive for Cocaine: <br/>2022-06-02, 2022-02-23<br/>Note: result may be false positive result or indicate patient is occasional user or addicted to the illicit drug.
got: <br/>*Positive for Cocaine: <br/>2022-06-02<br/>Note: result may be false positive result or indicate patient is occasional user or addicted to the illicit drug.

The only reason I can think of why this started appearing is that the test wasn't being triggered as the results where cached. But then, why would it pass when the PR was first submitted!

Component
Workflow library

To Reproduce
run ./gradlew :workflow:testDebugUnitTest from the command line or just run the test from the Android Studio UI

CC: @vitorpamplona

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

P2Medium priority issueeffort:mediumMedium effort - 3 to 5 daystype:bugSomething isn't working

Type

No type

Projects

  • Status

    Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions