Skip to content

Commit

Permalink
Sleep to prevent test flakes in outbound traffic (#13514)
Browse files Browse the repository at this point in the history
  • Loading branch information
howardjohn authored and istio-testing committed Apr 22, 2019
1 parent 7f238e0 commit 803bd24
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/integration/pilot/outboundtrafficpolicy/helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"html/template"
"reflect"
"testing"
"time"

"istio.io/istio/pkg/test/framework"
"istio.io/istio/pkg/test/framework/components/apps"
Expand Down Expand Up @@ -111,6 +112,9 @@ func RunExternalRequestTest(expected map[string][]string, t *testing.T) {
client := instance.GetAppOrFail("client", t).(apps.KubeApp)
dest := instance.GetAppOrFail("destination", t).(apps.KubeApp)

// Wait for config to propagate
time.Sleep(time.Second * 5)

cases := []struct {
name string
protocol string
Expand Down

0 comments on commit 803bd24

Please sign in to comment.