in config/yamlcfg/yaml2proto.go [214:255]
func ReconcileTestGroup(currentTestGroup *config.TestGroup, defaultTestGroup *config.TestGroup) {
if currentTestGroup.DaysOfResults == 0 {
currentTestGroup.DaysOfResults = defaultTestGroup.DaysOfResults
}
if currentTestGroup.TestsNamePolicy == config.TestGroup_TESTS_NAME_UNSPECIFIED {
currentTestGroup.TestsNamePolicy = defaultTestGroup.TestsNamePolicy
}
if currentTestGroup.IgnorePending == false {
currentTestGroup.IgnorePending = defaultTestGroup.IgnorePending
}
if currentTestGroup.IgnoreSkip == false {
currentTestGroup.IgnoreSkip = defaultTestGroup.IgnoreSkip
}
if currentTestGroup.ColumnHeader == nil {
currentTestGroup.ColumnHeader = defaultTestGroup.ColumnHeader
}
if currentTestGroup.NumColumnsRecent == 0 {
currentTestGroup.NumColumnsRecent = defaultTestGroup.NumColumnsRecent
}
if currentTestGroup.AlertStaleResultsHours == 0 {
currentTestGroup.AlertStaleResultsHours = defaultTestGroup.AlertStaleResultsHours
}
if currentTestGroup.NumFailuresToAlert == 0 {
currentTestGroup.NumFailuresToAlert = defaultTestGroup.NumFailuresToAlert
}
if currentTestGroup.CodeSearchPath == "" {
currentTestGroup.CodeSearchPath = defaultTestGroup.CodeSearchPath
}
if currentTestGroup.NumPassesToDisableAlert == 0 {
currentTestGroup.NumPassesToDisableAlert = defaultTestGroup.NumPassesToDisableAlert
}
// is_external and user_kubernetes_client should always be true
currentTestGroup.IsExternal = true
currentTestGroup.UseKubernetesClient = true
}