Browse Source

rewrite the test case to confirm the new parsing rule

Shelikhoo 4 years ago
parent
commit
fc2a37492a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      infra/conf/router_test.go

+ 1 - 0
infra/conf/router_test.go

@@ -127,6 +127,7 @@ func TestRouterConfig(t *testing.T) {
 					{
 						Tag:              "b1",
 						OutboundSelector: []string{"test"},
+						Strategy:         "random",
 					},
 				},
 				Rule: []*router.RoutingRule{