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

Generalize HTTP round trip test to test TChannel as well #63

Merged
merged 1 commit into from
Mar 8, 2016

Conversation

abhinav
Copy link
Contributor

@abhinav abhinav commented Mar 8, 2016

Depends on #62.

Review on Reviewable


rootCtx := context.Background()
for _, tt := range tests {
ctx, _ := context.WithTimeout(rootCtx, time.Millisecond*200)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: write as 200 * time.Millisecond

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

@HelloGrayson
Copy link
Contributor

:shipit:

@abhinav
Copy link
Contributor Author

abhinav commented Mar 8, 2016

Updated

@prashantv
Copy link
Contributor

lgtm

It now tests both, HTTP and TChannel.
@abhinav abhinav mentioned this pull request Mar 8, 2016
6 tasks
abhinav added a commit that referenced this pull request Mar 8, 2016
Generalize HTTP round trip test to test TChannel as well
@abhinav abhinav merged commit 64c2177 into tests Mar 8, 2016
@abhinav abhinav deleted the roundtrip branch March 8, 2016 23:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants