Merge pull request #60566 from serathius/fix-stackdriver-logging-test
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Fix stackdriver logging test Fixes https://k8s-testgrid.appspot.com/google-gce#gci-gce-sd-logging Removes location verification that was used for event-exporter tests. ```release-note NONE ```
This commit is contained in:
@@ -48,9 +48,6 @@ func UntilFirstEntryFromLog(log string) IngestionPred {
|
|||||||
return func(_ string, entries []LogEntry) (bool, error) {
|
return func(_ string, entries []LogEntry) (bool, error) {
|
||||||
for _, e := range entries {
|
for _, e := range entries {
|
||||||
if e.LogName == log {
|
if e.LogName == log {
|
||||||
if e.Location != framework.TestContext.CloudConfig.Zone {
|
|
||||||
return false, fmt.Errorf("Bad location in logs '%s' != '%d'", e.Location, framework.TestContext.CloudConfig.Zone)
|
|
||||||
}
|
|
||||||
return true, nil
|
return true, nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user