Skip to content

Commit 36ac1b1

Browse files
authored
Fix flaky integration test. (istio#319)
1 parent 957fe69 commit 36ac1b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/envoy/mixer/integration_test/http_server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ func (s *HttpServer) Start() {
7777
http.Serve(s.lis, nil)
7878
}()
7979

80-
addr := fmt.Sprintf("http://localhost:%s", s.port)
80+
addr := fmt.Sprintf("http://localhost:%v", s.port)
8181

82-
const maxAttempts = 10
82+
const maxAttempts = 30
8383
for i := 0; i < maxAttempts; i++ {
8484
time.Sleep(time.Second)
8585
client := http.Client{}

0 commit comments

Comments
 (0)