Просмотр исходного кода

rewrite the test case to confirm the new parsing rule

Shelikhoo 4 лет назад
Родитель
Сommit
fc2a37492a
1 измененных файлов с 1 добавлено и 0 удалено
  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{