Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start HTTP server for management server in int tests #86

Closed
wants to merge 1 commit into from

Conversation

jessicayuen
Copy link
Member

Believe this is the cause of the flakiness, due to shared ports with the
upstream HTTP server in the e2e tests.

Signed-off-by: Jess Yuen [email protected]

Believe this is the cause of the flakiness, due to shared ports with the
upstream HTTP server in the e2e tests.

Signed-off-by: Jess Yuen <[email protected]>
@jessicayuen jessicayuen linked an issue May 14, 2020 that may be closed by this pull request
@eapolinario
Copy link
Contributor

@jessicayuen , can you clarify why you think that starting the upstream http server fixes the underlying problem? Did you see my comment in the issue? If so, which one of the 2 failures this fix addresses?

@@ -205,11 +206,12 @@ func setup(
srv3 := gcpserverv3.NewServer(ctx, nil, nil)

// Start the origin server
go gcptest.RunManagementServer(ctx, srv2, srv3, originServerPort)
go gcptest.RunHTTP(ctx, originServerHTTPPort)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the distinction between these two servers / why does the origin server need both ports?

@jessicayuen
Copy link
Member Author

Going to close this. This is the wrong approach and I think a coincidence that the test is passing. Integration tests shouldn't require the HTTP service because there is no Envoy making the outbound calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Integration tests are exhibiting flaky behavior
3 participants