Skip to content

Fix external plugin tests with custom schemas #1541

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

Merged

Conversation

dominiklohmann
Copy link
Member

📔 Description

This fixes a particularly annoying issue: Plugins may bundle custom schemas, but running integration tests from externally built plugins did not pick them up because the plugins were in a separate build directory. Similarly to VAST_PLUGIN_DIRS, this adds a variable VAST_SCHEMA_DIRS that adds additional schema directories with high precedence.

📝 Checklist

  • All user-facing changes have changelog entries.
  • The changes are reflected on docs.tenzir.com/vast, if necessary.
  • The PR description contains instructions for the reviewer, if necessary.

🎯 Review Instructions

File-by-file.

@dominiklohmann dominiklohmann added the bug Incorrect behavior label Apr 9, 2021
@dominiklohmann dominiklohmann requested a review from a team April 9, 2021 10:44
@dominiklohmann dominiklohmann force-pushed the topic/external-plugins-schemas-integration-tests branch from 4a33a5d to d484865 Compare April 9, 2021 10:45
Copy link
Member

@tobim tobim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for missing that in the review yesterday.

@dominiklohmann
Copy link
Member Author

Sorry for missing that in the review yesterday.

No worries, I did not catch it either and I tested quite extensively. Shit happens, just happy I finally found this.

@dominiklohmann dominiklohmann merged commit 7c9844d into master Apr 9, 2021
@dominiklohmann dominiklohmann deleted the topic/external-plugins-schemas-integration-tests branch April 9, 2021 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants