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

Build fails in 2022 due to test data violating current year constraint #3147

Closed
punktilious opened this issue Jan 1, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@punktilious
Copy link
Collaborator

Describe the bug
spl-X.1.1.2: The effective time year is equal to the current

Environment
Which version of IBM FHIR Server? main

To Reproduce
Steps to reproduce the behavior:

  1. Build from main in 2022

Expected behavior
Successful build.

Additional context

The test resource Bundles in conformance/fhir-ig-spl/src/test/resources/json/ contain a timestamp field with a 2021 value. This violates the above constraint. This can be avoided by updating the timestamp to now before the test validates the resource (in com.ibm.fhir.ig.us.spl.ExamplesValidationTest).

@punktilious punktilious added the bug Something isn't working label Jan 1, 2022
@punktilious punktilious self-assigned this Jan 1, 2022
punktilious added a commit that referenced this issue Jan 1, 2022
…ar constraint

Signed-off-by: Robin Arnold <robin.arnold@ibm.com>
punktilious added a commit that referenced this issue Jan 4, 2022
Signed-off-by: Robin Arnold <robin.arnold@ibm.com>
punktilious added a commit that referenced this issue Jan 4, 2022
issue #3147 fix build for 2022 due to year validation rule
@lmsurpre
Copy link
Member

tests are passing now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants