Skip to content

Commit 34e4a69

Browse files
committed
mock router should always on the top of the router chain
1 parent 8779c5d commit 34e4a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/mock/MockInvokersSelector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
public class MockInvokersSelector extends AbstractRouter {
3535

3636
public static final String NAME = "MOCK_ROUTER";
37-
private static final int MOCK_INVOKERS_DEFAULT_PRIORITY = Integer.MAX_VALUE;
37+
private static final int MOCK_INVOKERS_DEFAULT_PRIORITY = Integer.MIN_VALUE;
3838

3939
public MockInvokersSelector() {
4040
this.priority = MOCK_INVOKERS_DEFAULT_PRIORITY;

0 commit comments

Comments
 (0)