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

Unit tests for HystrixCommandExecutionHooks (Manual merge of #327) #378

Merged
merged 8 commits into from
Dec 27, 2014

Conversation

mattrjacobs
Copy link
Contributor

This is a manual merge of #327. Thanks @krutsko for the contribution. The commits by @krutsko added unit tests demonstrating a number of failures of execution hooks.

  1. Unlike 1.3.x, 1.4 was calling onRunStart before onThreadStart. This is now switched back to onThreadStart before onRunStart
  2. Some paths called the onComplete hook twice
  3. 1.4 is calling onThreadComplete earlier, as the amount of logic executed on the Hystrix-isolated thread is less is 1.4. I'm opening issue Examine work performed on Hystrix-isolated thread #377 to check this out.
  4. HystrixBadRequestException was not calling the onError execution hook.

@cloudbees-pull-request-builder

Hystrix-pull-requests #195 SUCCESS
This pull request looks good

mattrjacobs added a commit that referenced this pull request Dec 27, 2014
@mattrjacobs mattrjacobs merged commit 376646b into Netflix:master Dec 27, 2014
@mattrjacobs mattrjacobs deleted the evaluate-pr-327-again branch January 19, 2015 21:39
@mattrjacobs mattrjacobs changed the title Manual merge of #327 Unit tests for HystrixCommandExecutionHooks (Manual merge of #327) Jan 22, 2015
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.

2 participants