Skip to content

Commit

Permalink
examples/integration: wait for secondary gateway
Browse files Browse the repository at this point in the history
I haven't been able to reproduce grpc-ecosystem#992, but this looks like a likely fix. ;)

Signed-off-by: Stephan Renatus <srenatus@chef.io>
  • Loading branch information
srenatus committed Sep 11, 2019
1 parent d818363 commit c860678
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/integration/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1479,6 +1479,10 @@ func testResponseStrings(t *testing.T, port int) {
}
}()

if err := waitForGateway(ctx, 8081); err != nil {
t.Fatalf("waitForGateway(ctx, 8081) failed with %v; want success", err)
}

port = 8081

for i, spec := range []struct {
Expand Down

0 comments on commit c860678

Please sign in to comment.