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

Unit tests have become unstable since STU3 refactoring #480

Closed
johnstairs opened this issue May 21, 2019 · 1 comment
Closed

Unit tests have become unstable since STU3 refactoring #480

johnstairs opened this issue May 21, 2019 · 1 comment
Assignees

Comments

@johnstairs
Copy link
Member

https://microsofthealthoss.visualstudio.com/FhirServer/_build/results?buildId=1317&view=ms.vss-test-web.build-test-results-tab&runId=1016450&resultId=100728&paneView=debug

Error message
System.Exception : Please call SetProvider before using methods on this class.

Stack trace

at Microsoft.Health.Fhir.Core.Models.ModelInfoProvider.EnsureProvider() in /home/vsts/work/1/s/src/Microsoft.Health.Fhir.Core/Models/ModelInfoProvider.cs:line 28 at Microsoft.Health.Fhir.Core.Models.ModelInfoProvider.EnsureValidResourceType(String resourceName, String parameterName) in /home/vsts/work/1/s/src/Microsoft.Health.Fhir.Core/Models/ModelInfoProvider.cs:line 64 at Microsoft.Health.Fhir.Core.Features.Search.SearchValues.ReferenceSearchValue..ctor(ReferenceKind referenceKind, Uri baseUri, String resourceType, String resourceId) in /home/vsts/work/1/s/src/Microsoft.Health.Fhir.Core/Features/Search/SearchValues/ReferenceSearchValue.cs:line 34 at Microsoft.Health.Fhir.Core.UnitTests.Features.Compartment.CompartmentIndexerTests.GivenSearchIndicesWithResourceTypeAndCompartmentType_WhenExtracted_ThenCorrectIndicesExtracted(ResourceType resourceType, CompartmentType compartmentType, String resourceId) in /home/vsts/work/1/s/src/Microsoft.Health.Fhir.Core.UnitTests/Features/Compartment/CompartmentIndexerTests.cs:line 39

@brendankowitz
Copy link
Member

This looks stable now

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

No branches or pull requests

2 participants