Skip to content

Commit

Permalink
Merge pull request kubernetes#60566 from serathius/fix-stackdriver-lo…
Browse files Browse the repository at this point in the history
…gging-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
```
  • Loading branch information
Kubernetes Submit Queue authored Mar 5, 2018
2 parents f9898c3 + 53f7b3e commit a817870
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions test/e2e/instrumentation/logging/utils/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ func UntilFirstEntryFromLog(log string) IngestionPred {
return func(_ string, entries []LogEntry) (bool, error) {
for _, e := range entries {
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
}
}
Expand Down

0 comments on commit a817870

Please sign in to comment.