Browse Source

adjust test with updated structure

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

+ 0 - 7
infra/conf/router_test.go

@@ -115,13 +115,6 @@ func TestRouterConfig(t *testing.T) {
 						OutboundSelector: []string{"test"},
 						OutboundSelector: []string{"test"},
 						Strategy:         "leastload",
 						Strategy:         "leastload",
 						StrategySettings: serial.ToTypedMessage(&router.StrategyLeastLoadConfig{
 						StrategySettings: serial.ToTypedMessage(&router.StrategyLeastLoadConfig{
-							HealthCheck: &router.HealthPingConfig{
-								Interval:      int64(time.Duration(5) * time.Minute),
-								SamplingCount: 2,
-								Timeout:       int64(time.Duration(5) * time.Second),
-								Destination:   "dest",
-								Connectivity:  "conn",
-							},
 							Costs: []*router.StrategyWeight{
 							Costs: []*router.StrategyWeight{
 								{
 								{
 									Regexp: true,
 									Regexp: true,