Skip to content

Fix failing SchemaReferenceResolverHelper unit test #18858

@JFisk42

Description

@JFisk42

Problem Statement

There is a test which normally fails the first time it is run in CI. This isn't a blocker as our unit tests are set to run a second time to allow for some flaky tests. This tests fails the majority of the time so an average savings of 2-5 minutes can be gained per prime router build.

Additional Context

Most recent slack thread: https://nava.slack.com/archives/C086P9HNVMF/p1763576023911949
There are a few other slack threads that can be found by searching test-AzureWebJobsStorage in slack that may contain more context.

Error Output

gov.cdc.prime.router.fhirengine.translation.hl7.utils.helpers.SchemaReferenceResolverHelperTests test blobInfo() FAILED

  org.opentest4j.AssertionFailedError: expected: <test-AzureWebJobsStorage> but was: <testconnection>
      at app//gov.cdc.prime.router.fhirengine.translation.hl7.utils.helpers.SchemaReferenceResolverHelperTests.test blobInfo(SchemaReferenceResolverHelperTests.kt:21)

Acceptance Criteria

  • Test now passes on the first attempt in CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    o&mOperations & Maintenance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions