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

Write a bunch of tests for http_server_response.go #15

Merged
merged 18 commits into from Mar 27, 2017

Conversation

Raynos
Copy link
Contributor

@Raynos Raynos commented Mar 25, 2017

I'm looking into add PeekBody() to HTTPServerResponse.

This is a pre-cursor PR that just ramps up the test coverage
so that we can iterate without breaking existing code & features.

  • Add GetErrorLogs() to BenchGateway
  • Add support for zap.SyncWriter in Gateway
  • Refactor and remove unneeded CopyJSON()
  • Remove unused WriteHeader
  • Write a bunch of tests.
  • Clamp code coverage @ 100% for runtime/*
  • Add nil gaurd to WriteJSON to avoid panics.

r: @uber/zanzibar-team

@Raynos
Copy link
Contributor Author

Raynos commented Mar 25, 2017

image

@Raynos Raynos merged commit 7644943 into master Mar 27, 2017
@Raynos Raynos deleted the http-server-response-tests branch March 27, 2017 19:56
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.

None yet

2 participants