You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Provide a way to test configs further than proto unmarshalling #1171
For config testing, we currently only unmarshal the config into a protobuf. That misses cases where string fields may be improperly formatted, e.g. let's say someone sets "interval" to "1223" (no unit suffix). We should extend ConfigTest to verify such fields as well.
Activity
manugarg commentedon Nov 11, 2025
Fields that we should verify:
I guess we should just run a limited version of:
cloudprober/probes/options/options.go
Line 150 in 01180b7
[config] Extend ConfigTest to validate probe config fields beyond pro…
[config] Extend ConfigTest to validate probe config fields more deeply (