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

Add test mechanism for plugin operation failure (WIP) (main) #7043

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alanking
Copy link
Contributor

Used this to confirm that the Glacier concerns in #6997 have been addressed, rather than actually setting up a Glacier resource.

This is a work in progress and may never be merged.

This change adds a check to the plugin framework which checks plugin
property maps for the "munge_operations" keyword. Currently, the
keyword must contain a value that is a comma-delimited list of key-value
pairs separated by colons. This is meant to provide a means for testing
to configure a plugin (at this time, only resource plugins are being
tested) such that certain operations return specific error codes.

This adds some tests which ensure that the system is behaving properly
when certain resource plugin operations fail. Specifically, when a data
object is created and some resource plugin operation fails, the data
object should be marked stale to ensure that the state of the data is
properly reflected in the catalog.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant