mirror of https://github.com/grpc/grpc.git
This fixes the current ruby server interop test flakiness. - The interop tests recently changed so that clients access servers in parallel, meaning that the interop servers handle multiple rpcs at once, which is how this bug became visible - since this change, tests run against the ruby interop server have failed sporadically - the problem was that the block in #loop_handle_server_calls that is passed to the thread pool referenced a var in an enclosing block, which resulted in requests being processed by the wrong handler - this fix ensures that the block to be run on the thread pool thread does not have any references to vars in the enclosing blockpull/4106/head
parent
0dd67a109a
commit
7d21c04b2c
1 changed files with 11 additions and 8 deletions
Loading…
Reference in new issue