Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finagle/finagle-thriftmux: Fix flakey thriftmux.MethodBuilder test
Problem When testing deadline application in the timeout filter, we expect a GlobalRequestTimeout to be thrown from the global timeout filter due to the short deadline. However, an IndividualRequestTimeoutException can also be thrown -- the filters set very similar timeouts due to the deadline being shorter than each of their respective timeouts, and hence the interrupts race. Solution Exception a generic RequestTimeoutException instead. JIRA Issues: CSL-12415 Differential Revision: https://phabricator.twitter.biz/D1108542
- Loading branch information