1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

adjust test with updated structure

This commit is contained in:
Shelikhoo 2021-06-19 11:36:22 +01:00
parent 9f984cade0
commit 6fd8e36a3b
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -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,