Skip to content

Commit

Permalink
mock router should always on the top of the router chain
Browse files Browse the repository at this point in the history
  • Loading branch information
xujingfeng committed Feb 26, 2019
1 parent 8779c5d commit 34e4a69
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
public class MockInvokersSelector extends AbstractRouter {

public static final String NAME = "MOCK_ROUTER";
private static final int MOCK_INVOKERS_DEFAULT_PRIORITY = Integer.MAX_VALUE;
private static final int MOCK_INVOKERS_DEFAULT_PRIORITY = Integer.MIN_VALUE;

public MockInvokersSelector() {
this.priority = MOCK_INVOKERS_DEFAULT_PRIORITY;
Expand Down

0 comments on commit 34e4a69

Please sign in to comment.