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

Update flow control test to have multiple concurrent streams. #2170

Merged
merged 1 commit into from
Jun 22, 2018

Conversation

MakMukhi
Copy link
Contributor

No description provided.

return
}
}
}(stream)
Copy link
Member

Choose a reason for hiding this comment

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

This or the stream := stream is needed to avoid the iterator reassignment problem. I'm OK either way, but please remove one.

stream := stream
go func(stream *Stream) {
defer wg.Done()
msg := make([]byte, msgSize)
Copy link
Member

Choose a reason for hiding this comment

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

Remove msg please.

}
// Sleep for a little to make sure both sides flush out their buffers.
time.Sleep(time.Millisecond * 500)
//time.Sleep(time.Millisecond * 500)
Copy link
Member

Choose a reason for hiding this comment

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

Delete if not needed.

@dfawley dfawley assigned MakMukhi and unassigned dfawley Jun 22, 2018
@MakMukhi MakMukhi merged commit 8e18752 into grpc:master Jun 22, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Dec 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants