Skip to content

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

Merged
mattrjacobs merged 8 commits intoNetflix:masterfrom
mattrjacobs:evaluate-pr-327-again
Dec 27, 2014
Merged

Unit tests for HystrixCommandExecutionHooks (Manual merge of #327)#378
mattrjacobs merged 8 commits intoNetflix:masterfrom
mattrjacobs:evaluate-pr-327-again

Conversation

@mattrjacobs
Copy link
Copy Markdown
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
Copy link
Copy Markdown

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