Details
-
Type:
Story
-
Status: Invalid
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: meas_base, pipe_tasks
-
Labels:
-
Story Points:4
-
Team:Data Release Production
-
Urgent?:No
Description
Arun Kannawadi discovered on DM-24737 that Config.validate isn't being called on measurement plugin configs, even though it should be. I'm not sure if this is because RegistryField or ConfigurableField isn't calling validate on its child configs, or if we've just forgotten to call super().validate() somewhere in a validate implementation.
We should probably consider modifying pex_config to make that super delegation unnecessary - if we do that first, and we still have some validate implementations that do delegate to super, we'll validate twice, but that's not a big deal, and we can clean it up slowly.
Summary: The measurement plugin config was simply not being validated in unit tests automatically, and required an explicit call to the `validate` method.