-
Notifications
You must be signed in to change notification settings - Fork 7
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
Tests fail when there are multiple tests with multiple schemas/schematrons #822
Comments
Issues with this tests when running after other. Tracked here: #822 Tests still fail but this is now expected
Your expectations are wrong. The first test fails because: While you may be using a modern information model, validate must fix NASA-PDS/validate#1028 before this test can pass. There is a block that requires loading it independent of check contents that is causing an internal error. The second test always processes the same. However, there are tons of SEED errors there as well indicating that constant behavior is probably luck not validate good behavior. The third, behaves different depending on 2 because one of the schematron errors becomes a warning. I do not know if this would change with SEED no longer causing the internal errors. It is not too surprising that an internal error would leave all kinds of dodo in validate. I would prioritize fixing NASA-PDS/validate#1028 then retesting here. It also means that both validate and this StepDefs should be updated to always fail on an internal error. |
@al-niessner copy that. let's go with that path forward. Thanks for investigating. |
@al-niessner unfortunately, the removing the SEED internal error noted above did not fix failures. Removing that file still causes github797 tests to fail, when all 3 tests execute successfully when run independently. |
Checked for duplicates
Yes - I've already checked
π Describe the bug
When I try to run back to back tests calling validate, it does not pick up later specified schemas.
π΅οΈ Expected behavior
I expected the tests to run successfully.
π To Reproduce
Playing around with the
validate.feature
file.Scenario 1
Scenario 2
geom:Geometry
)Scenario 3
π₯ Environment Info
π Version of Software Used
Latest snapshot
π©Ί Test Data / Additional context
See repo
π¦ Related requirements
No response
βοΈ Engineering Details
No idea what is happening here. It appears validate is not properly reading/loading the GEOM LDD on the second run.
per comments below, blocked by NASA-PDS/validate#1028
π Integration & Test
No response
The text was updated successfully, but these errors were encountered: